I have a textfield in a tableview. When a user clicks the textfield, I'd like the user to be wisked away to another page where they have more room to enter their data. The challenge I'm having is that when a user clicks that textfield, for a brief second, you can see that keyboard begin to slide up before the user is transitioned to the new screen.
Is it possible to prevent the keyboard from sliding up when clicking on a textfield?
Labels will truncate with ellipses automatically if you specify a fixed width and height. You shouldn't need to truncate manually.
Could you use a Label instead since you don't want them editing the text field anyway?
Ordinarily, I would, but eventually I'm going to populate that textfield with the contents from the other text area and I'd like to make use of the ellipses that are inserted into text textfields that are longer than what the textfield will allow.
I tried using a label and using a JS substring function to count X number of chars to truncate it. The problem is that different chars have different widths, so it's difficult setting a specific limit without starting the manufactured ellipses too early or too late. Does that make sense?
I tried blurring on focus, but that still flickers a keyboard. Anyone have any ideas?
Hi there Christopher,
Have you tried setting editable:false for the textfield since you're overriding the 'click' event with your code that opens a new window?
Just a thought.
Think you can help? Login to answer this question!