Add option to position first backdrop below nav bar#2352
Merged
tf merged 6 commits intocodevise:masterfrom Jan 26, 2026
Merged
Conversation
Allow tests using renderInEntry and renderEntry to simulate phone platform context. This enables testing behavior that differs based on usePhonePlatform hook results. REDMINE-21204
Allow widgets to wrap the entry content with a provider component that can set CSS custom properties and provide React context to the widget. This enables widgets to influence entry layout and share state without DOM manipulation. REDMINE-13957
Explain how custom navigation widgets can use presence classes to set CSS custom properties that influence entry layout, specifically how to position backdrops below fixed navigation bars. REDMINE-21204
Allow configuring the default navigation widget to set CSS custom properties that can be used to position the first section's backdrop below the navigation bar. The option is only available when the navigation is set to stay fixed on desktop. REDMINE-21204
Introduce --widget-margin-top-min and --widget-margin-top-max CSS variables that widgets can set to indicate how much space they occupy at the top of the viewport. Use these to offset sticky backdrops and adjust full height sections accordingly. REDMINE-21204
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
REDMINE-21204