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

fix(protocol-designer,components): fix dropdown menu expands direction issue #16841

Open
wants to merge 3 commits into
base: edge
Choose a base branch
from

Conversation

koji
Copy link
Contributor

@koji koji commented Nov 14, 2024

Overview

fix dropdown menu expands direction issue.

update DropdownMenu's prop to make things more understandable.
modify, Toolbox's height.
https://opentrons.slack.com/archives/C07E9T2NAQK/p1731536325870079?thread_ts=1731525319.924009&cid=C07E9T2NAQK

For LiquidToolbox, the nested structure is deeper than others (expected) but the UI layout is fixed so set menuPlacement="bottom". SelectModules and SelectFixtures are the same.

Screenshot 2024-11-14 at 4 07 17 PM

close RQA-3563

Test Plan and Hands on Testing

Changelog

Review requests

low

Risk assessment

… issue

fix dropdown menu expand direction issue

close RQA-
@koji koji requested review from a team as code owners November 14, 2024 21:13
@koji koji requested review from mjhuff, ncdiehl11 and jerader and removed request for a team and mjhuff November 14, 2024 21:13
@ncdiehl11
Copy link
Collaborator

Still seeing issue on move labware dropdown
Screenshot 2024-11-14 at 4 17 44 PM

@jerader
Copy link
Collaborator

jerader commented Nov 14, 2024

is this expected? i guess we may want to give the dropdown menu a max height or something?

Screen.Recording.2024-11-14.at.16.19.27.mov

@koji
Copy link
Contributor Author

koji commented Nov 15, 2024

is this expected? i guess we may want to give the dropdown menu a max height or something?

Screen.Recording.2024-11-14.at.16.19.27.mov

that is an expected behavior because DropdownMenu's height is set to display 10 items(Mel's request.)

Copy link
Collaborator

@jerader jerader left a comment

Choose a reason for hiding this comment

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

lgtm, thanks for fixing this

@koji
Copy link
Contributor Author

koji commented Nov 15, 2024

Still seeing issue on move labware dropdown Screenshot 2024-11-14 at 4 17 44 PM

@ncdiehl11
I couldn't see that.
Could you share the protocol you used?

Screenshot 2024-11-15 at 2 43 00 PM

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

Successfully merging this pull request may close these issues.

3 participants