You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pretty self-explanatory. It would be useful to have focus and blur events (to mirror the DOM terminology) that are raised for a textfield, searchbar, or any other controls that can gain or lose focus. Also would be good to have a way to determine if a view currently has focus or not, like a hasFocus property.
Alongside this pseudo selectors would be needed for theme project:
TextField:focus { color: blue; }
for example.
Reacted by Morten Sjøgren, David Benninger, Jean-Baptiste Aniel, Alex Plex, c1ngular, Olivier, Johannes Werner, JanarthananCodingmart, David Jones, Raleigh Johnson and 6 more
Activity
NathanWalker commentedon Oct 3, 2016
Alongside this pseudo selectors would be needed for theme project:
for example.
dbenninger commentedon Nov 25, 2016
I can't believe there is no focus and blur event.
Has someone found a workaround?
atellmer commentedon Jan 27, 2017
You may emulate focus/blur event with tap event and other. It is temporary decision, but it is works fine
EddyVerbruggen commentedon Aug 21, 2017
FYI: There is a
blurevent these days. I'm thinking of doing a PR forfocusas well.EddyVerbruggen commentedon Aug 22, 2017
#4730 pending review 🤞
nabil-mansouri commentedon Aug 24, 2017
This feature will be added in the next release? I find it really important
EddyVerbruggen commentedon Aug 25, 2017
@nabil-mansouri The PR has been merged, so 3.2 it will be - and you can grab
tns-core-modules@nextright now if you can't wait! 😃lock commentedon Aug 28, 2019
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.