multitheftauto / mtasa-blue

Multi Theft Auto is a game engine that incorporates an extendable network play element into a proprietary commercial single-player game.
https://multitheftauto.com
GNU General Public License v3.0
1.35k stars 415 forks source link

CEF select bug #1593

Open Ali-Ysf opened 3 years ago

Ali-Ysf commented 3 years ago

Describe the bug HTML select dropdown bugs when it is supposed to be closed, when you click on the select to show options, then click on select itself, choose an option or click somewhere else in the page. The dropdown list does get closed but the in game render of the page does not realize that. It is worth to note that I had another page which its select closed when choosing something or clicking somewhere else in the page, except when clicking on select again, it produces the same bug. I have tried a completely empty html page with html page and it had the bug in all cases just like described first. Furthermore, resizing the browser by one pixel then resizing it back to normal using a timer did make the "stain" left from the select dropdown disappear (yet not a very practical fix).

To reproduce selectBug.zip

Expected behaviour select dropdown should completely disappear when choosing an option, clicking somewhere else or on the select itself.

Screenshots ezgif com-video-to-gif (The dropdown leaves a stain after choosing an option when it is supposed to close and disappear)

Version 1.5.7

Additional context

qaisjp commented 3 years ago

Please can you add screenshots or a video? From reading your issue it's not clear exactly what the bug is.

Ali-Ysf commented 3 years ago

Sure I have added a gif

qaisjp commented 3 years ago

Thanks!