lundi 27 juin 2016

How to deselect the text entered when you click on label in firefox 47?


How to deselect the text entered when you click on label in firefox 47 ?

In most browsers, everything is OK, except for firefox.

The problem is as follows: Everything works well the first time you enter. But when you shoot INPUT focus, and you click on label is an allocation of the text as in the image below

enter image description here

my code - https://jsfiddle.net/zcdftr4g/

 label{
  -moz-user-focus: ignore;  
}
<label>Click me <input type="text" /></label>

I would be glad of any help. Thank you


Aucun commentaire:

Enregistrer un commentaire