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

Remove workaround when setting popover attribute #1801

Merged
merged 1 commit into from
Nov 26, 2024

Conversation

acelaya
Copy link
Contributor

@acelaya acelaya commented Nov 26, 2024

This PR removes a workaround we had to prevent popover={false} to result in a popover attribute being added to the DOM element.

That was fixed in preactjs/preact#4393, so setting false now skips the attribute entirely.

Copy link

codecov bot commented Nov 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (8fef71d) to head (dd0d329).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main     #1801   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           68        68           
  Lines         1220      1220           
  Branches       465       465           
=========================================
  Hits          1220      1220           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -147,7 +147,7 @@ export default function PopoverPage() {
<code>boolean</code>
</Library.InfoItem>
<Library.InfoItem label="default">
<code>false</code>
<code>true</code>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not related with this PR, but I forgot to update the default value here, as it was changed in a different PR than the one providing the documentation.

@acelaya acelaya requested a review from robertknight November 26, 2024 10:47
@acelaya acelaya merged commit 82734c2 into main Nov 26, 2024
4 checks passed
@acelaya acelaya deleted the remove-popover-workaround branch November 26, 2024 10:57
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.

2 participants