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

Added missing useInertPolyfill() calls #2224

Merged
merged 7 commits into from
Sep 16, 2024
Merged

Conversation

r100-stack
Copy link
Member

@r100-stack r100-stack commented Sep 6, 2024

Changes

In #2001 (comment), @mayank99 pointed out a missing useInertPolyfill() in Panels. That made me realize that it was missing in CarouselSlide.tsx too.

To prevent forgetting to call useInertPolyfill() in the future, the useInertPolyfill() is now moved to the ThemeProvider (#2224 (comment)).

Related: #2001 (comment), #2001 (comment)

Testing

  • Tests still passing.
  • Tested in Firefox 110 (where inert is not supported) that inert is still working as expected in Overlay and CarouselSlide.

Docs

Didn't add changeset as we felt there's no need to communicate this small change (#2224 (comment)).

@r100-stack r100-stack self-assigned this Sep 6, 2024
@r100-stack r100-stack mentioned this pull request Sep 6, 2024
@r100-stack r100-stack marked this pull request as ready for review September 6, 2024 13:21
@r100-stack r100-stack requested a review from a team as a code owner September 6, 2024 13:21
@r100-stack r100-stack requested review from mayank99 and smmr-dn and removed request for a team September 6, 2024 13:21
.changeset/silver-items-refuse.md Outdated Show resolved Hide resolved
@r100-stack r100-stack enabled auto-merge (squash) September 16, 2024 13:17
@r100-stack r100-stack merged commit b91f7e3 into main Sep 16, 2024
15 of 16 checks passed
@r100-stack r100-stack deleted the r/add-missing-inert-polyfills branch September 16, 2024 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants