If I add a FocusListener to a TextField in our Vaadin Project the focus-Method never gets called. The BlurListener is working. On the TextArea both Listener are also working fine. Just the FocusListener on the TextField not.
Is there any project setting that can damage the use of the FocusListener on TextFields?
We’re using Vaadin 7.3.5 and it’s just not working in our project. Guess there is a project setting which effects the Listener but I have no clue which setting it could be.
I just add the TextField to a CSSLayout and add the FocusListener and BlurListener. Nothing special, but the FocusListener isn’t working and BlurListener works.
The FocusListenner work only if the BlurListener exist. In my example, I add a styleName when input is focus and I remove it when input lost (onBlur) the focus state.