Skip to content

Support rtl in floating.tsx #1109

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

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

omerman
Copy link

@omerman omerman commented Jun 14, 2025

What is it?

  • Feature / enhancement
  • Bug
  • Docs / tests
  • Other

Why is it needed?

Support RTL layouts for all the floating elements, tooltips/popovers/dropdown etc..
image

Checklist:

  • My code follows the developer guidelines of this project
  • I have performed a self-review of my own code
  • I have ran pnpm change and documented my changes
  • I have add necessary docs (if needed)
  • Added new tests to cover the fix / functionality

Copy link

changeset-bot bot commented Jun 14, 2025

🦋 Changeset detected

Latest commit: bc50f0b

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@qwik-ui/headless Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Contributor

github-actions bot commented Jun 14, 2025

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

top: `${y}px`,
transform: context.transform,
});
}

if (resolvedData.middlewareData.arrow && context.arrowRef?.value) {
Copy link
Author

Choose a reason for hiding this comment

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

I didnt yet add rtl support for the arrow but it doesnt seem to be working as expected with arrows at the given moment or at least didnt see a working example, so I ignored it atm.

@omerman
Copy link
Author

omerman commented Jun 14, 2025

I have read the CLA Document and I hereby sign the CLA

github-actions bot added a commit that referenced this pull request Jun 14, 2025
@omerman omerman force-pushed the fix/floating-rtl branch from bf3ab99 to f525f90 Compare June 14, 2025 19:19
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.

1 participant