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

[TreePicker] - height property seems to be ignored even with virtualized set #3623

Closed
AdrienFromToulouse opened this issue Feb 13, 2024 · 4 comments · Fixed by #3769
Closed
Assignees

Comments

@AdrienFromToulouse
Copy link

AdrienFromToulouse commented Feb 13, 2024

What version of rsuite are you using?

5.53.2

What version of React are you using?

18.2.0

What version of TypeScript are you using (if any)?

5.3.3

What browser are you using?

Chrome

Describe the Bug

Hi @superman66 ,

I might do something wrong I guess, but I think the height of the menu is not affected by the height property

Edit angry-bush-2whhpl

Cheers,

Expected Behavior

The menu should follow the height set in prop when virtualized is true.

To Reproduce

Edit angry-bush-2whhpl

@superman66
Copy link
Member

This should be a bug, let me confirm it briefly

@AdrienFromToulouse
Copy link
Author

This should be a bug, let me confirm it briefly

Thank you very much for checking on it 🙏

@AdrienFromToulouse
Copy link
Author

Hi @superman66 did you have a chance to have a look at it?
Thanks for your time.

Cheers,

@simonguo
Copy link
Member

Fixed in v5.61.0. Use treeHeight instead of height.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants