-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Fixed Position: adjust top position while logged #69498
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
Fixed Position: adjust top position while logged #69498
Conversation
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
|
Hi @shimotmk is there a related issue to this this pr, and can you please provide more context? |
|
@carolinan It seems like it was intentionally left out in the open. |
|
If it has been intentionally left out, why is it being changed? What is being fixed? |
|
Could you please show a video or code? What does a complete issue look like? It puts me under pressure. |
|
@shimotmk When you create a new issue in the Gutenberg repository, you can choose between different prefilled formats.
If there was a decision in 2023 to not support A missing context that can be included in an issue can be for example: "As a plugin or theme developer, I have a feature and design that needs to use fixed positioning. Reading the text in this PR, I don't understand what you mean by |
|
@shimotmk I was not suggesting that you need to close the PR. I was trying to explain that for me to be able to determine if this is a fix that needs to be made, there needs to be more context and information. |
|
I am not trying to put pressure on you, I am trying to encourage you to include why something needs to be changed, not only that it needs to be changed. A decision made in the past, like the one about the fixed positioning, may need to be revisited, but it is easier to do that if there is a summary. |
This is the only reason I could find: #48948
It's hard to say for sure since the people working on this feature are not currently active, but it might still be experimental. |
What?
Related #47665
Why?
If an admin bar exists when in Fixed Position, elements will overlap with the admin bar, so adjust it in the same way as for sticky.
How?
Add the same style as sticky.
Testing Instructions
gutenberg.phpetc. to support fixed.Or paste the following code into your code editor.
4.If you look at the front end, you can see that the top position is adjusted depending on whether or not the admin bar is present.
Screenshots or screencast
Before
fixed-before.mp4
After
fixed-after.mp4