Clicking outside the eye icon clears the password | GNOME lockscreen

In the password field of GNOME lockscreen, clicking the area around the eye icon clears the password. This happens consistently to me. Is it a feature?
Sometimes I want to click the eye and miss it, which clears the password I already typed.