[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: |
|
||||||||
| Issue Links: |
|
||||||||
| 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. |