gwtbootstrap3 / gwtbootstrap3-extras

Extra (third party) wrappers for GwtBootstrap3
Apache License 2.0
43 stars 89 forks source link

Select-element: leaps over two or more list elements when using Down and Up-Keys #347

Closed eugen-eugen closed 5 years ago

eugen-eugen commented 5 years ago

Our setup: The Web-Page includes THREE GWT-applications and each of them uses bootstrap3-extras-select.

Now, if I am in a select list and hit Down or Up keys, the cursor isn't moving to the next or previous line but rather make three moves forward resp. three moves back.

Our analysis: Each inclusion of bootstrap3-extras-select charges the html elements with key-events. We included bootstrap3-extras-select three times and therefore each hit of Down or Up keys leads to three moves of cursor.

eugen-eugen commented 5 years ago

pull request must be merged

sjardine commented 5 years ago

Please fork the seed project and create a test case that exhibits the problem. The gwtbootstrap3-demo project does not have this behavior.

I would recommend that you do not used the gwt modules with auto injection. Just inherit the modules that don't inject the scripts and inject them yourself in your index.html file or whatever.

sjardine commented 5 years ago

I don't think this is a bug. I am pretty sure this is due to incorrect use of the modules that auto injects scripts. Will reopen if a verifiable test case is given.