I'm currently working on a web app that part of which is to display a description per location taken from an API. I have it so it displays the whole description no matter how long it is. when I run the app in developer mode and even when I deploy it to firebase it works just fine, it shows me the description no matter how long it is. tested it on my phone (android) and works just as well, but a co-worker tried it out on his iPhone and after a few lines it shows applies text-overflow: ellipsis;, thus not showing me the rest of the string and in turn replacing it with an ellipsis. I wasn't able to find much info on this problem so I wanted to ask if there are any relevant info sites out there for this sort of issue, and if anyone knows how do I disable this CSS property on IOS devices.
for additional context, the app is developed on Ionic-Angular
Sorry this is a few months late but the only solution I found was going into settings>general>keyboard>text replacement and then doing the following:
In a text, or notes, or anywhere you can type (even copy these if you want: ... ) type two periods, put a space, then type another.
Now go back and delete that space between the two and all 3 will still be periods, not merged into an ellipsis. Select and copy those 3 (or the 3 I gave above) and now create new text shortcuts. I made 4 just to be safe and here they are:
1] the phrase is the pasted 3 periods, and the shortcut is an actual ellipsis (you can also type it by long pressing on the period on your iPhone)
2] the phrase is the pasted 3 periods and then the shortcut is the same pasted 3 periods (sometimes this makes the phone recognize something differently)
3] the phrase is the pasted 3 periods and the shortcut is two periods (so: .. ) and this way if I type 2 periods and hit space, it’ll turn it into 3 periods, not an ellipsis
4] the phrase is the pasted 3 periods and the shortcut is four periods (so: .... ) and this way if I type 4 periods and hit space it’ll turn it into 3 periods, not an ellipsis with a dot after it.
It’s not a perfect work around but if you almost always use 3 dots and don’t need 2 or 4 that often then this stopped the ellipsis from showing up for me (luckily!)
Edit: after playing around with it I found that the iPhone’s input of an ellipsis depends on where you are typing. For instance if I’m in a green text message chat (someone on android) it does not input it... so then when I type 3 periods, it replaces it to 4 since it sees the first by itself and the next 2 as being a shortcut to 3... grrrr...
So with that said, my solution above works for iMessages when texting people who have iPhones. This is primarily where I use 3 periods so I’ll probably keep mine this way. However, you can delete 3 of the 4 shortcuts I recommended and simply keep the 4 period shortcut one. Then every time you need 3 periods instead of an ellipsis, simply type 4 periods and move on..
Related
I work writing messages on text boxes on a NON SECURE website interface of a company. I work from my pc and google chrome with no spy programs installed because i work from home on my own pc!
They do not want people to paste messages, but there are some words that I repeat a lot and I would like to use text expanders for those words or small expression.
My question is, is it possible that the company read and saves the keys that are digited on a text box BEFORE sending them the final message that I wrote?
Example, I could create a shortcut and use GDM to write Good Morning, is it possible that the company understand that I wrote GDM instead of good morning into the text box of that I pasted a word even if the final sent message will be Good Morning and not GDM? Will they be able to record my pressed keys like CTRL C and V or GDM instead of good morning?
Yes, It is possible to implement a javascript keylogger that logs every keystroke on that page. In your scenario the company would "benefint" from it, if they really want to detect pasting messages.
However this can be tricked by any application that calls the OS's native function that simulates the keystrokes and doesnt use keyboard shorcuts for the text expansion.
I’m trying to create a Shortcut on iOS that uses Regex, what I’m trying to accomplish is getting the price of a product from a website but no matter what Regex commands I use don’t work. It would be easier if my computer was up and running and I was able to use addons to view the site better but I’m stuck on iOS for the time being. Viewing the source code line 606 displays
'productPrice':'409.99',
But nothing I try pulls the the price even from different lines in the code.
I’m trying to get the price from https://www.microcenter.com/product/512484/intel-core-i7-9700k-coffee-lake-36-ghz-lga-1151-boxed-processor
I just can’t figure out how to retrieve the price being shown, I’ve tried so many combinations I had to turn to more experienced user help.
this works for me: 'productPrice':'(.*?)', - link
Make sure you are getting the part of the page source that contains this information.
The answer was so simple, if using shortcuts on iOS I was able to pull the price of the MicroCenter product by these commands.
URL - microcenter page to product
Get Contents of URL (leave as is)
Get Text from Input
Match Text - Pattern - \$......
Get item from list - Item at Index / 2 (2 is for items on sale or not)
The rest you can decide what to do with it, make a notification or whatever you decide how to display the price. This answer I found was a way to make sure it works. Now I’ll make a menu of multiple items from micro I have my eye on to pull all the prices in 1 click display. https://m.imgur.com/Iljvsx6
I need to download a series of credit reports using chrome, has to be chrome because my company uses last pass and I don't actually know the password. I also need to use VBScript with windows default libraries. The script needs to click (and I counted) 2 links -> then a radial button -> then input into 2 text boxes -> select the 6th item in a dropdown list -> click a download button -> then copy a string from the page and rename the downloaded file based on that. This last part I think I could do with windows.xmlhttp get then parse it, but if there's a better way I'm looking for suggestions.
My knowledge of VBscript is ad hock at best, I've had to learn it on the fly on an as needed basis, frankly its a miracle some of the scripts i wrote work at all.
The only solutions I could think of was to use WScript.SendKeys "{tab}" and WScript.SendKeys "{enter}" a few dozen times, this works most of the time, but has no reaction capability and can't copy text from the page and rename it for me. The page also doesn't always have the same number of buttons or links so my tab count will be off at times. My other idea was to use http post and http get but I'm more or less completely in the dark about how those work
My print preview from MS Access shows everything perfectly fine. Here's the actual PDF file snapshot which shows some letters are cut in half. It happens inconsistently with this report and not always for the same data.
In this report only 5 out of 40 questions had their first letter cut in half.
Please advise.
I've tried adjusting where the data field must start, i.e. I've moved the start of the question a bit more right, but no difference.
Here's the design view I've highlighted in yellow where the question starts. I've moved it more right, makes no difference.
Here's where the user captures questions]
Your problem text lines have a stray Tab character (ASCII 9) at or near the beginning of the line, which is being interpreted as a lateral positioning move for the string. Your correct lines do not have a stray Tab. If you use Acrobat's text editor to delete the Tab, the rest of the line jumps properly into view.
Below, I've extracted the text of each line in your sample, and replaced the unexpected Tab character with an "X." If you use Acrobat text editing to navigate carefully to the spot in the line where the Tab is located (you won't see it directly, but it's there), Shift-cursor sideways to highlight the Tab alone, and delete it, you'll see the text revert to its normal appearance.
Note that the Tab is usually not the first character in the line, in lines where it appears:
SXources of polyunsaturated fats include
LXack of calcium is one of the major causes of osteoporosis
XDisaccharides are the simplest form of carbohydrate
Excessive long term protein intake may lead to kidney problems
Water soluble vitamins taken in excess have toxic effects in the body
LXack of calcium is one of the major causes of osteoporosis
SXources of polyunsaturated fats include
VXitamin B12 is involved in
I'm going to hazard a guess here that the problem was introduced in the text before it was uploaded to your final document, so that the unwanted Tabs somehow snuck in as body text. I hope that helps.
That is one weird effect. It is a bit suspicious that it only occurs towards the end of the document, but I have no idea what causes it.
Two workarounds worked for me:
1) Use
=" " & [Question]
as control source of the text box, and rename it to txtQuestion to avoid a circular reference. That's two spaces, one wasn't enough.
Move it a bit to the left, to make up for the increased indentation.
2) Don't use the Access-integrated PDF creator, use a PDF printer instead.
I used the Windows 10 integrated "Microsoft Print to PDF", but there are many free ones, e.g. https://en.pdf24.org/ (just google "pdf printer driver").
This created a larger .pdf file for me, but it doesn't show the error.
Edit: Interestingly, while Adobe Acrobat Reader shows the error, Foxit Reader or the Firefox integrated PDF viewer doesn't. Here is a single page example if anyone else wants to check.
I have a report with 50 pages. I have one list control, and this list control contains a table control. I am using grouping in the list, with a page break at the end. I want each group on one page. For example, if the size of my data is bit more for some of the pages then it moves to the second page.
The problem is I am getting some of the pages with the same number where data for one group is more than one page. I am using this expression in the footer:
format(Globals!PageNumber & "of" & Globals!TotalPages)
When I have 50 pages then after exporting to Word I will get 45, becuase 5 or 6 pages will be repeated, giving "1 of 45" instead of "1 of 50".
Note that I am using SSRS 2005.
This is an older question but recently ran into this issue myself so it might help someone else.
There are a lot of examples out there that use casting in the examples for the page number display (CStr or ToString()). Whenever I invoked those methods, the counts would be off when exporting to Word (either doc or docx).
The only way I could get it to work is with three separate text boxes in the footer with these expressions:
=Globals!PageNumber
"of"
=Globals!TotalPages
Avoid the use of those other approaches (including the wrapping Format function -- I don't think that's doing anything). Three separate text boxes was the only way I could get this to work.