mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-03 15:53:16 +03:00
27976381f8
refs https://github.com/TryGhost/Team/issues/2677 Fixed a bug that the current selection is deselected when clicking inside a modal when performing a context menu action. Refactored the context menu component and its usage in the posts list to improve the user experience and code quality. Introduced a `state` property and a `setState` method to the `gh-context-menu` component to handle different scenarios. Used the `gh-context-menu` component in the `posts-list/context-menu` component to simplify the modal and loading logic. Added a `#frozen` property and methods to the `selection-list` utility to prevent the selection of posts from changing while the context menu is active. --------- Co-authored-by: Simon Backx <simon@ghost.org> |
||
---|---|---|
.. | ||
bound-one-way.js | ||
caja-sanitizers.js | ||
copy-text-to-clipboard.js | ||
ctrl-or-cmd.js | ||
currency.js | ||
flatten-grouped-options.js | ||
format-markdown.js | ||
get-scroll-parent.js | ||
ghost-paths.js | ||
isNumber.js | ||
link-component.js | ||
password-generator.js | ||
publish-options.js | ||
route.js | ||
selection-list.js | ||
shortcuts.js | ||
slug-url.js | ||
window-proxy.js |