Using Next keyboard shortcut (J) rapidly while reaching last item in the topic list and causing a "load more". The handler might get into a state where it can not detect any selected item due to the delay from Em.run.next and will result in position reset. +added boundary check of last item on next, early in the handler to avoid unnecessary computations https://meta.discourse.org/t/keyboard-shortcut-next-previous-continues-key-down-reset-to-first-item-in-list-on-load-more/20042 |
||
|---|---|---|
| .. | ||
| admin | ||
| defer | ||
| discourse | ||
| docs | ||
| locales | ||
| admin.js.erb | ||
| application.js.erb | ||
| discourse.js | ||
| ember_include.js.erb | ||
| env.js | ||
| jquery_include.js.erb | ||
| main_include_admin.js | ||
| main_include.js | ||
| pagedown_custom.js | ||
| preload_store.js | ||
| vendor.js | ||