Skip to content

Commit 3eca75d

Browse files
committed
Don't open FLD library HUDs in the top orientation
Resolves #16747
1 parent fb53e9a commit 3eca75d

File tree

4 files changed

+4
-2
lines changed

4 files changed

+4
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
## Unreleased
44

55
- Fixed a bug where scrollable panes weren’t automatically scrolling when dragging objects near their edges. ([#16738](https://github.com/craftcms/cms/issues/16738))
6+
- Fixed a bug where field layout designers’ library HUDs could open above the “Add” button, hiding the tab contents. ([#16747](https://github.com/craftcms/cms/discussions/16747))
67

78
## 5.6.8 - 2025-02-19
89

src/web/assets/cp/dist/cp.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/web/assets/cp/dist/cp.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/web/assets/cp/src/js/FieldLayoutDesigner.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -474,6 +474,7 @@ Craft.FieldLayoutDesigner.Tab = Garnish.Base.extend({
474474
hudClass: 'hud fld-library-hud',
475475
listenToMainResize: false,
476476
showOnInit: false,
477+
orientations: ['right', 'bottom', 'left'],
477478
});
478479
hud.on('show', () => {
479480
this.designer.$libraryContainer.appendTo(hud.$main);

0 commit comments

Comments
 (0)