-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
BugSomething is broken and not working as intended in the system.Something is broken and not working as intended in the system.
Description
Issue summary
When using the Top Bar component without a Search Field, the Top Bar's User Menu is left-aligned. I believe it should always be right-aligned.
The best way to see the issue is through this CodePen: https://codesandbox.io/s/7yqwzpj1q0
Expected behavior
Not including a Search Field (which is an optional prop) on Top Bar shouldn't affect the positioning of User Menu (it should always be right-aligned).
I am making an assumption here: maybe the current behaviour is expected.
Actual behavior
Failing to include a Search Field causes the User Menu to be left-aligned.
Steps to reproduce the problem
- Implement a Top Bar component following the guidelines but without including a Search Field
Reduced test case
https://codesandbox.io/s/7yqwzpj1q0
Specifications
- Are you using the React components? (Y/N): Y
- Polaris version number: 3.0.0-rc.6
- Browser: Chrome
- Device: Macbook Pro
- Operating System: MacOS
Metadata
Metadata
Assignees
Labels
BugSomething is broken and not working as intended in the system.Something is broken and not working as intended in the system.