-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
fix: making side menu sticky #3621
Conversation
@kushthedude @uds5501 please review this . |
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.
Works fine.
I think you didn't get the issue, We have to make it stick to the top irrespective of scrolls. Using |
See the second image on |
@kushthedude i have seen the issue description's second image . but once i refresh the page it disappeared .Making it sticky will be solve that problem (as user is not going to refresh the page every time:smile:) . As in profile section also the side menu is sticky and one have to scroll back to change the page(at https://eventyay.com/account/billing/payment-info). I think there should be no problem in scrolling back as they do in mobile phones . |
The sidebar should be stick to the top, irrespective of user scrolls or not. |
@kushthedude please take a look at this .may be This will make clear what i want to say about ui-sticky . |
@maze-runnar Use position sticky |
Ok |
@iamareebjamal What i should do next? |
See if there is overflow hidden in parent |
ok |
@iamareebjamal actual problem is here :
in {{ui-sticky}}. I used
and it resolves the issue. should i remove |
Yes, wherever used |
Codecov Report
@@ Coverage Diff @@
## development #3621 +/- ##
==============================================
Coverage ? 21.89%
==============================================
Files ? 460
Lines ? 4736
Branches ? 0
==============================================
Hits ? 1037
Misses ? 3699
Partials ? 0
Continue to review full report at Codecov.
|
app/templates/public.hbs
Outdated
@@ -35,9 +35,9 @@ | |||
{{/if}} | |||
{{/if}} | |||
{{else}} | |||
{{#ui-sticky context='#public-event-content' observeChanges=true}} | |||
<div class="ui fluid" style="position:sticky; top:0px;"> |
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 don't think top 0px is right. Besides, it should be moved to CSS file
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.
it's working on top:0px - https://youtu.be/8cqPH3b4X58
and if i should change then what should be the value.
@maze-runnar top: 14px will look better |
Fixes #3510
Making side bar sticky .
working fine on computers :
And Mobile Device :
Checklist
development
branch.