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

[Select] Positioner not updating to reflect trigger size #2146

Closed
1 of 3 tasks
FilipePfluck opened this issue Feb 5, 2024 · 1 comment
Closed
1 of 3 tasks

[Select] Positioner not updating to reflect trigger size #2146

FilipePfluck opened this issue Feb 5, 2024 · 1 comment

Comments

@FilipePfluck
Copy link
Contributor

Description

When the select is set to multiple and I select more items then it fits in the trigger, the size of the trigger will change to comport the selected items. This is expected. However, the Positioner component doesn't seem to update to reflect this:
Screenshot from 2024-02-05 11-16-52

Similarlly, if I open a Select with multiple items selected and unselect them, the trigger will shrink but the Positioner will also not reflect this:
Screenshot from 2024-02-05 11-17-38
Screenshot from 2024-02-05 11-17-50

Link to Reproduction (or Detailed Explanation)

https://github.com/FilipePfluck/PlucoUI

Steps to Reproduce

  1. Clone the repo
  2. Run storybook
  3. Check the Multiple Select story
  4. Open the Select, and select multiple items until the trigger expands to fit them all
  5. See how the Positioner doesn't update the Content position to reflect this

Ark UI Version

1.3

Framework

  • React
  • Solid
  • Vue

Browser

No response

Additional Information

No response

@segunadebayo
Copy link
Member

This is now fixed in Zag.js. A new version will be released shortly.

chakra-ui/zag#1213

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

No branches or pull requests

2 participants