-
Notifications
You must be signed in to change notification settings - Fork 16
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
IBX-5138: The header in content edit view is displayed incorrectly when scrolling #714
IBX-5138: The header in content edit view is displayed incorrectly when scrolling #714
Conversation
@@ -23,6 +35,10 @@ | |||
const shouldHeaderBeSlim = scrollTop > SCROLL_POSITION_TO_FIT; | |||
|
|||
headerNode.classList.toggle('ibexa-edit-header--slim', shouldHeaderBeSlim); | |||
|
|||
if (shouldHeaderBeSlim) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this solution take into account really long words, which can be problematic also when header is not slim?
5ff0d90
to
b67202a
Compare
b67202a
to
fc222a5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested and validated on Ibexa Experience Version 4.4.1 and OSS 4.3.4
Chrome and FF
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've looked into the CI failure and looks like there's an issue here - the "Create" (or Save) button is clickable only when the website is not scrolled, you can't click it once you scroll below on the website
bug.mov
Please notice how the "on hover" pointer change does not happen when I scroll down - the button cannot be clicked.
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Manually restesed after the "fit bottom row line with buttons" commit |
Checklist:
$ composer fix-cs
)