Hi folks, I am trying to work with the input text field and need an on focus event but I am unsure how to get this to work.
I tried the below statement but this gives me errors. inputElement.on 'focus', ->
Hey Vaibhav Kanwal, you can target the input element of the layer, like this: :)
Hi Benjamin Thanks for the quick reply. I tried that too but this throws an error. Any idea what could be wrong?
Hey! Ok. It worked, I rephrased it and it worked fine. Thank you so much. The solution to my problem was :inputElement.onfocus = ->
Hi All, I have a similar issue. I have an input element that works just fine, however in order to get that element to scroll I have made it a child of an element that was imported from photoshop. When I do that the input field is no longer editable/clickable by the user and no longer gets the focus attribute. Any idea what I could be doing wrong? Koen Bok