Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Add functionality to move workspace to the end and disable reorder mode on panel close #2309

Merged

Conversation

kristijanribaric
Copy link
Contributor

This commit adds a new `onpopuphidden` attribute to the `<panel>` element that defines the workspace panel. This attribute triggers the `ZenWorkspaces.handlePanelHidden()` function when the panel is hidden.

This change is necessary to allow the application to properly handle the case when the workspace panel is hidden so that the reorder mode can be disabled.

The following changes were made:

- Added the `onpopuphidden` attribute to the `<panel>` element in `zen-popupset.inc.xhtml`.
- Added a new CSS class `.zen-workspace-last-place-drop-target` to `zen-workspaces.css`.
- Modified the `zen-workspaces.css` file to display the `.zen-workspace-last-place-drop-target` class only in reorder mode.
@dosubot dosubot bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Oct 24, 2024
@mr-cheff mr-cheff merged commit b7964f7 into zen-browser:dev Oct 24, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size:S This PR changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Twilight] Issues with workspace menus
2 participants