-
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: Handle side menu navigation correctly #5503
fix: Handle side menu navigation correctly #5503
Conversation
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/eventyay/open-event-frontend/8polg26o6 |
@iamareebjamal Please see to the changes I have made in it and let me know anything to do. |
Go to https://open-event-frontend-i18x7pe1p.vercel.app/e/1f720482/speakers |
This pull request introduces 1 alert when merging cb22baf into 79e0cbd - view on LGTM.com new alerts:
|
@iamareebjamal Now I have to work on when going from different page to diff page section. |
Yes |
1 similar comment
Yes |
@iamareebjamal made the changes. Now getting to section from diff page is working properly. |
This pull request introduces 1 alert when merging 3fa86e5 into 79e0cbd - view on LGTM.com new alerts:
|
@iamareebjamal I mean i got the way how it will be working and its working what was said but the problem that will be arising here is that I have used setTimeout funtion for 2 sec but this won't work always bcz what if page took more than 2 sec so I want to know is there a way so that function gets executed only when the page is completely loaded? |
This pull request introduces 1 alert when merging 9bc5959 into 79e0cbd - view on LGTM.com new alerts:
|
@iamareebjamal https://open-event-frontend-mq4nd06op.vercel.app/e/1f720482/speakers |
Fix the build and indentation. Cannot review till then |
This pull request introduces 1 alert when merging a35c4a5 into 4fa8591 - view on LGTM.com new alerts:
|
@iamareebjamal I have Improved the code for TODO-1 and it looks more cleaner then before. |
@iamareebjamal I was reading about ember run loops which I think might help in this case |
They help when you want to run some code in next event loop iteration |
@iamareebjamal Is there a way in which I could run a code after the DOM is completely rendered? |
What's the usecase? |
After latest changes, I can't go from other page to info link. Go to speakers and then click on sponsors. Not working |
I was thinking of the way in which we can get previous visted route and if the route is speaker or coc etc. we can do dom manipulation like here scrolling. |
Its working for me |
Easier thing would be to abandon LinkTo or href-to helper and just use pure anchor tags and see if things work |
no it does not work |
@iamareebjamal after lot of things doing and researching for this solution, I found a workaround which will be working very good for TODO-2 |
@iamareebjamal I have implemented this method for going to section from diff page. |
It's not going to the section from different page https://open-event-frontend-git-double-click-5123.eventyay.vercel.app/e/3dbaaa50/coc Now click on sponsors or organizer |
There's no need for goTo action. This could be simplified even more and thus I have done that. Please check if everything is working as expected |
Yep everything is working fine. Thanks for improving it. |
Great. Please check gitter |
Fixes #5123
Short description of what this resolves:
Require two clicks for moving to same section eg. sponsors, tickets etc.
Changes proposed in this pull request:
TODO
Checklist
development
branch.