-
Notifications
You must be signed in to change notification settings - Fork 0
fix: handle language dropdown in ExpandedHeader #1042
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
base: main
Are you sure you want to change the base?
Conversation
|
Warning: Component files have been updated but no migrations have been added. See https://github.com/yext/visual-editor/blob/main/packages/visual-editor/src/components/migrations/README.md for more information. |
commit: |
WalkthroughThis PR modifies the visibility logic for the secondary header in the visual editor. The change removes the editing state check from the condition that determines whether the secondary header should be hidden, so the header visibility now depends solely on the overflow state when not in menu mode. The dependency array of the effect hook is updated to include the overflow state to ensure proper re-evaluation when overflow changes. Possibly related PRs
Suggested reviewers
🚥 Pre-merge checks | ✅ 1 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (1 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Completely forgot this exists and wasn't being handled nicely in tablet viewport in Editor.
Untitled.mov