Closed (fixed)
Project:
Olivero
Version:
8.x-1.0-alpha2
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Jun 2020 at 09:53 UTC
Updated:
23 Jun 2020 at 21:14 UTC
Jump to comment: Most recent, Most recent file


Comments
Comment #2
himanshu_sindhwani commentedComment #3
sreenivas bttv commentedComment #4
sreenivas bttv commented@himanshu_sindhwani, Thanks for raising the issue. I have attached a patch that fixes the issue.
Patch details:
- While clicking on the mobile nav button js-fixed class adding to body. so keeping width: 100% fixed the issue when body has js-fixed class.
Comment #5
komalk commentedpatch #4 is applied successfully.
#5 added base.css file along with complied css
attached the screen shot for the reference.
Comment #6
mherchelI'm unable to reproduce this. What browser are you seeing this in? Are you testing alpha2 or the latest HEAD?
Comment #7
himanshu_sindhwani commentedI tested with the latest head. I read the CSS written in base.css and observed body gets width: 100% when it has class 'is-always-mobile-nav'.
And this class is added when you have the checkbox Use the favicon supplied by the theme checked in theme settings.
If this checkbox is off you will see the issue.
I am using Chrome browser.
Comment #8
hansa11 commented@himanshu_sindhwani: I still couldn't replicate this one, is there anything else that should be followed other than the above steps?
Comment #9
himanshu_sindhwani commented@hansa11 , have you made the checkbox off as mentioned in #7 ?
Comment #10
sreenivas bttv commented@mherchel, @hansa11,
The misalignment happen when especially at the home page when no content available.
Comment #11
mherchelI'm still unable to reproduce. Here's an animated gif.
Comment #12
sreenivas bttv commented@mherchel,
As mentioned in #10, the issue will happen only when the home page has no content or fresh installation of Drupal.
Comment #13
mherchel@Sreenivas Bttv - the animated gif in #11 is on the homepage with no content.
In your gif above, I see there is content. I'm still unable to reproduce this.
Comment #14
ju.vanderw commented@himanshu_sindhwani I also can't reproduce this - I have favicon checkbox off, as well as Enable mobile menus at all widths off, as shown on your screenshot. I'm on Drupal 8.9.
Comment #15
himanshu_sindhwani commentedTo be more specific I am using chrome on IOS device. I have to check on other devices. Its certainly reproducing for me.
Comment #16
ju.vanderw commentedI was on Chrome browser on a MacBook, and had the mobile testing set to iPhone X.
Comment #17
komalk commentedI was on Chrome browser on a MacBook, and had the mobile testing set to iPhone X.
able to reproduce this issue logged in with an anonymous user.
Comment #18
ju.vanderw commentedI was finally able to duplicate it - by creating a new account that was not administrator, but just an authenticated user, like @komalkolekar mentioned.
In fact, after some testing, this happens when the user is logged in but does not have permissions for the admin toolbar, because even as an administrator, when I gave permission for the toolbar, it fixed the problem. Also, it only seems to be happening on `/user` for me.
Removing body.js-fixed {position: fixed} seems to fix the problem.
Comment #19
mherchelThanks @ju.vanderw! Yep. I'm finally able to duplicate it. It's on the user page when there is no admin toolbar. Weird stuff. The patch fixes it perfectly.
Comment #20
mherchelCommitted. Thanks!