ui5-webcomponents icon indicating copy to clipboard operation
ui5-webcomponents copied to clipboard

feat(ui5-dialog): add fullscreen toggle button

Open kskondov opened this issue 5 months ago • 3 comments

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

JIRA: BGSOFUIRODOPI-3680

kskondov avatar Jun 12 '26 14:06 kskondov

🚀 Deployed on https://pr-13691--ui5-webcomponents-preview.netlify.app

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>

Done

kskondov avatar Jun 17 '26 13:06 kskondov

👋 Heads-up: dev close is in effect

Thanks for the contribution! This repository is currently in dev close ahead of release next (scheduled 2026-07-09, UTC). See the release schedule for the full timeline.

This PR appears to introduce public-API changes (detected by diffing the Custom Elements Manifest against the latest published version on npm):

@ui5/webcomponents

  • ➕ added property: showFullscreenButton
  • ➕ added attribute: show-fullscreen-button
  • 🔄 changed attribute state (type)

Could you please hold off on merging into main until the release ships? Public-API changes are best landed in the next dev cycle so they don't slip into the release at the last minute. Once the release is out, this PR is good to go.

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.

💬 False positive? If you believe this PR doesn't actually change the public API (e.g. only internal refactoring, or an entry the detector mis-attributed), please reply on this thread — your feedback helps us improve the detection during this trial run.

Posted automatically by the Dev Close Notice workflow.

github-actions[bot] avatar Jun 24 '26 08:06 github-actions[bot]