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
If attempting to close an open slideout with a visible/expanded sidebar, the sidebar will collapse, and the user needs to hit the Escape key a second time to actually close the slideout.
On Craft 4, this only happens on narrow screens, and feels like wanted behavior because the sidebar has necessarily been actively expanded by the user.
On Craft 5.0.0-beta.3, slideout sidebars are toggleable on all screen widths (#14418) and on wider screens the behavior feels less wanted, considering the user hasn't necessarily "expanded" the sidebar:
CleanShot.2024-02-23.at.16.13.57.mp4
As far as I can tell this happens regardless of where the focus currently sits inside the slideout.
Steps to reproduce
Open a slideout in a wide viewport, and hit the Escape key
Expected behavior
The slideout should immediately close unless the user has actively expanded it.
Actual behavior
The sidebar always collapses when hitting the Escape key. When the sidebar is collapsed, the Escape key closes the slideout.
Craft CMS version
5.0.0-beta.3
PHP version
No response
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions
The text was updated successfully, but these errors were encountered:
What happened?
Description
If attempting to close an open slideout with a visible/expanded sidebar, the sidebar will collapse, and the user needs to hit the Escape key a second time to actually close the slideout.
On Craft 4, this only happens on narrow screens, and feels like wanted behavior because the sidebar has necessarily been actively expanded by the user.
On Craft 5.0.0-beta.3, slideout sidebars are toggleable on all screen widths (#14418) and on wider screens the behavior feels less wanted, considering the user hasn't necessarily "expanded" the sidebar:
CleanShot.2024-02-23.at.16.13.57.mp4
As far as I can tell this happens regardless of where the focus currently sits inside the slideout.
Steps to reproduce
Expected behavior
The slideout should immediately close unless the user has actively expanded it.
Actual behavior
The sidebar always collapses when hitting the Escape key. When the sidebar is collapsed, the Escape key closes the slideout.
Craft CMS version
5.0.0-beta.3
PHP version
No response
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions
The text was updated successfully, but these errors were encountered: