mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 22:43:30 +03:00
1543ffe6ed
closes https://github.com/TryGhost/Ghost/issues/9075 - ensure we re-focus the input element after closing the dropdown so that it's not necessary to click on the search input again after using backspace - removes unnecessary use of `run.scheduleOnce` - this was causing the error in TryGhost/Ghost#9075 because search was happening out of sync with the open/close of the dropdown in turn causing `ember-basic-dropdown` to try measuring non-existent elements - alternative fix would be to wrap each open/close, focus, and search call in separate `run.scheduleOnce('afterRender', ...)` calls - remove use of `invokeAction`, it's not been necessary in Ember for a while now and we should be calling methods directly where possible for easier debugging |
||
---|---|---|
.. | ||
admin |