feat(ui5-dialog): add fullscreen toggle button#13691
Conversation
The dialog now supports a fullscreen toggle button in the header, controlled by the `showFullscreenButton` property. The button toggles the `stretch` property and is not available on phone devices. - Keyboard shortcut: Shift+Ctrl+F - Double-click on header toggles fullscreen - Button shows Maximize/Restore tooltip and aria-keyshortcuts - Resets drag/resize state when toggling
|
🚀 Deployed on https://pr-13691--ui5-webcomponents-preview.netlify.app |
Adds a padding-inline-end to prevents header content from overlapping with the button
Lint errors fix
Lint and bug fixes - Keyboard shortcut: Shift+Ctrl+F (works regardless of focus) - Double-click on header toggles fullscreen - Button shows Maximize/Restore tooltip and aria-keyshortcuts - Resets drag/resize state when toggling
…nts into ui5-dialog-fullscreen
TeodorTaushanov
left a comment
There was a problem hiding this comment.
We should wait for #13632 to be merged.
Removes absolute positioning and and adds fullscreen spacing instead of offset - Keyboard shortcut: Shift+Ctrl+F (works regardless of focus) - Double-click on header toggles fullscreen - Button shows Maximize/Restore tooltip and aria-keyshortcuts - Resets drag/resize state when toggling
Removed unnecessary spacing
TeodorTaushanov
left a comment
There was a problem hiding this comment.
the fullscreen button shouldn't be rendered, when a custom header is defined:
<ui5-dialog id="fullscreen-dialog" show-fullscreen-button draggable resizable>
<div slot="header">Fullscreen Dialog</div>
disable fullscreen button if custom header is provided - Keyboard shortcut: Shift+Ctrl+F (works regardless of focus) - Double-click on header toggles fullscreen - Button shows Maximize/Restore tooltip and aria-keyshortcuts - Resets drag/resize state when toggling
Done |
👋 Heads-up: dev close is in effectThanks for the contribution! This repository is currently in dev close ahead of release This PR appears to introduce public-API changes (detected by diffing the Custom Elements Manifest against the latest published version on npm):
Could you please hold off on merging into If this change must ship in the current release, please request a review from one or two members of @UI5/ui5-team-webc so the team can sign off explicitly.
Posted automatically by the Dev Close Notice workflow. |
The dialog now supports a fullscreen toggle button in the header, controlled by the
showFullscreenButtonproperty. The button toggles thestretchproperty and is not available on phone devices.JIRA: BGSOFUIRODOPI-3680