[COMPASS-4937] Collation select size changes with window width Created: 09/Jul/21  Updated: 29/Oct/23  Resolved: 09/Dec/22

Status: Closed
Project: Compass
Component/s: Collection
Affects Version/s: None
Fix Version/s: 1.35.0

Type: Bug Priority: Minor - P4
Reporter: Maurizio Casimirri Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File Screenshot 2021-07-09 at 11.21.29.png     PNG File Screenshot 2021-07-09 at 11.21.35.png    
Issue Links:
Depends
depends on COMPASS-4986 Introduce a leafygreen provider at th... Closed
Documentation Changes: Not Needed

 Description   

The size of the select inputs changes depending on the window size.

It should stay at the same dimension we get with a narrow window.

See also https://mongodb.slack.com/archives/CM90JQHEJ/p1622029182028800



 Comments   
Comment by Sergey Petushkov [ 04/Aug/21 ]

Hey Dave, currently we are not using it in all the places leafygreen is used in the Compass app, but we will work on changing it and having one provider for the whole app if that's the direction you're planning to take. In general the approach of configuring this behavior through the provider sounds good to us.

Comment by Dave McCarter [ 03/Aug/21 ]

I'm expecting we'll be able to start that ticket next week. Does Compass use the LeafyGreen Provider? We're thinking of using that as a way to disable the scaling of UI elements in response to viewport changes universally.

Comment by Maurizio Casimirri [ 14/Jul/21 ]

We should be able to update the leafygreen component after https://jira.mongodb.org/browse/PD-1401 is done.

Generated at Wed Feb 07 22:37:54 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.