Skip to content

[3.x] Use the popover API for the progress bar#2917

Merged
pascalbaljet merged 4 commits into
3.xfrom
progress-bar-popover
Mar 5, 2026
Merged

[3.x] Use the popover API for the progress bar#2917
pascalbaljet merged 4 commits into
3.xfrom
progress-bar-popover

Conversation

@pascalbaljet
Copy link
Copy Markdown
Member

The error modal was upgraded to native <dialog> in v3 to avoid z-index issues. This PR does the same for the progress bar by using popover="manual", which promotes the element to the top layer and eliminates the need for z-index hacks.

When the popover API is not supported, the progress bar falls back to the previous z-index: 1031 approach. A popover option is available in createInertiaApp to force either behavior:

createInertiaApp({
  progress: { popover: false },
  // ...
})

The positionUsing setting has been removed since translate3d is now always used.

@pascalbaljet pascalbaljet added the next major release We need to consider this for the next major release, perhaps because of a breaking change label Feb 27, 2026
@pascalbaljet pascalbaljet merged commit 075d9c1 into 3.x Mar 5, 2026
46 checks passed
@pascalbaljet pascalbaljet deleted the progress-bar-popover branch March 5, 2026 09:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

next major release We need to consider this for the next major release, perhaps because of a breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant