FocusListener and BlurListener at add-on did not work.

Hello.
I try to add add-on OSGiMaskedTextField ( https://vaadin.com/directory#!addon/osgimaskedtextfield )
It works most well, but there is some errors.

It didn’t work as well:
component.addFocusListener(event → System.out.println(“FOCUS”));
component.addBlurListener(event → System.out.println(“BLUR”));

How can i fix this listeners?

If that’s the same one as this:
https://github.com/andersonfreitas/vaadin-masked-textfield/blob/master/src/main/java/org/vaadin/addons/maskedtextfield/client/MaskedTextFieldWidget.java

looks like the overridden onFocus / onBlur methods might be blocking those listeners from getting triggered. If you decide to add a super() call there, be careful not to break any of the existing functionality.

-Olli

Hello, Olli!
Thanks for answer. It is very useful.

You’re welcome, let us know if you get it working!

-Olli