-
Notifications
You must be signed in to change notification settings - Fork 678
Closed
Labels
Description
What happened?
Description
The live preview drag handle is very hard to grab and sometimes grabs after mouse up and requires another click to let go.
This is because:
- "lp-draghandle" is 4px wide
- 2px are covered by "lp-preview-container"
- 1px is covered by "slideout-shade" when the slideout menu is opened
- leaving only 2px or 1px to grab
Steps to reproduce
- Setup a section with a preview target
- Add an entry to the section
- Add a field to the entry that opens a slideout (Matrix, Entries, Asset)
- Create an entry and open live preview
- Try to grab the drag handle
If you give "lp-draghandle" a red background and "slideout-shade" a black background via browser dev tools, you can clearly see that only a single 1px is visible.
Expected behavior
The 4px "lp-draghandle" should be above everything else in order to be easy to grab.
But it should not cover the preview at all, as this may block scrolling and clicking of the previewed site.
Actual behavior
The preview handle is covered by other elements and is hard to grab.
Craft CMS version
5.8.15
PHP version
No response
Operating system and version
No response
Database type and version
No response
Image driver and version
No response