You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When editing the element index settings, clicking outside the modal closes it. This means you lose all pending changes you've been working on. One mis-click means you have to start over. See the video for demonstration:
element-index-modal.mov
Steps to reproduce
Go to the entries index and click on Customize sources.
Make some changes in the modal.
Click outside the modal to close it.
When opening the modal again, any unsaved changes are lost.
Expected behavior
It's unfortunate that an accidental click outside the modal causes you to lose any changes you've done. I can think of two possible improvement:
Don't allow the modal to be closed by clicking outside it.
The modal could retain the pending state on the current page, so that clicking Customize sources again will return it to the last state.
Craft CMS version
4.4.2
PHP version
8.2
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions
No response
The text was updated successfully, but these errors were encountered:
Agree, that modal is a little too easy to close. Just tweaked it for the next Craft 3 and 4 releases, so Esc key presses and clicks outside the modal no longer cause it to be hidden/removed.
What happened?
Description
When editing the element index settings, clicking outside the modal closes it. This means you lose all pending changes you've been working on. One mis-click means you have to start over. See the video for demonstration:
element-index-modal.mov
Steps to reproduce
Expected behavior
It's unfortunate that an accidental click outside the modal causes you to lose any changes you've done. I can think of two possible improvement:
Craft CMS version
4.4.2
PHP version
8.2
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions
No response
The text was updated successfully, but these errors were encountered: