Problem/Motivation
The off-canvas dialog can be rendered either at the "top" or the "side".
There is a small draggable handle at the top left of the side dialog for resizing the dialog width.
This handle is always on the left, even when the dialog opens from the left in a RTL language.
This handle is also present in the "top" off-canvas dialog even though scaling width is not desirable and the handle is not clickable.
Proposed resolution
Check language direction and change the dialog option for the resizable handle position.
Remove the handle entirely if the off-canvas dialog is opened from the top.
| Comment | File | Size | Author |
|---|---|---|---|
| #19 | interdiff-17_19.txt | 1.51 KB | gauravvvv |
| #19 | 3102865-19.patch | 1.17 KB | gauravvvv |
| #17 | interdiff-15_17.txt | 744 bytes | gauravvvv |
| #17 | 3102865-17.patch | 2.67 KB | gauravvvv |
| #15 | interdiff-13_15.txt | 746 bytes | gauravvvv |
Comments
Comment #2
zrpnrThis patch sets
dialogOptions['resizable']to either 'e' for RTL or 'w' for LTR, and FALSE if position is not "side".The styling for
.ui-resizable-ewas already present incore/assets/vendor/jquery.ui/themes/base/dialog.css.Comment #3
zrpnrComment #12
bwaindwain commentedPatch #2 works good for us. +1
Comment #13
gauravvvv commentedPatch #2, no longer applies to d11. I have attached a patch for D11.
Comment #15
gauravvvv commentedFixed test failures, Attached interdiff for same.
Comment #17
gauravvvv commentedTried fixing test errors. Attached interdiff for same.
Comment #19
gauravvvv commentedRemoved unused files