-
Notifications
You must be signed in to change notification settings - Fork 22
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
1806 - ids-toolbar misposition in header overflow menu #2276
1806 - ids-toolbar misposition in header overflow menu #2276
Conversation
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.
@clayinfor the one issue i see is that its loosing the highlight.
![Screenshot 2024-05-01 at 10 24 37 AM](https://private-user-images.githubusercontent.com/814283/327146933-88538910-6b3d-47d5-b585-6925bd73e0d2.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjA3MDg3NzQsIm5iZiI6MTcyMDcwODQ3NCwicGF0aCI6Ii84MTQyODMvMzI3MTQ2OTMzLTg4NTM4OTEwLTZiM2QtNDdkNS1iNTg1LTY5MjViZDczZTBkMi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNzExJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDcxMVQxNDM0MzRaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0zYzE3ZTk4ZWU2NGJmZjNmNTI3YmRmOGViZmI5MzA0MGVmNTBhNmEyODJkMmVlNWIzNzFkODgyODY1NmE3NTZkJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.dP2QTkYhVPEX2sdhFayZoSiv5AOEolT3GWvVV4foJLk)
The highlight used to stay on the both menu items similar to this:
![Screenshot 2024-05-01 at 10 24 21 AM](https://private-user-images.githubusercontent.com/814283/327147001-66e33fae-c9ca-4d62-b8c3-ad5485572e68.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjA3MDg3NzQsIm5iZiI6MTcyMDcwODQ3NCwicGF0aCI6Ii84MTQyODMvMzI3MTQ3MDAxLTY2ZTMzZmFlLWM5Y2EtNGQ2Mi1iOGMzLWFkNTQ4NTU3MmU2OC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNzExJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDcxMVQxNDM0MzRaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1jYzk5MmZlYTAzNmY2MWRlNjA4ZGEzZThmNDIzZjI1NmI3NTk2NGNlZjEyNWE1ZDE1ZDc2MmIyMTliNzdkNmYxJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.gEpowODNWbnliRzKANrXr_HGacMICgg-51VUW8WJR_E)
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.
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.
Marking as request changes for the above
if (this.containingElem?.classList?.contains('app-menu-is-open')) { | ||
const appMenu = this.containingElem?.querySelector('.app-menu'); | ||
const appMenuRect = appMenu?.getBoundingClientRect(); | ||
if (navigator.userAgent.indexOf('Firefox') === -1) { |
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 cause a warning? May also want to sync main here as this PR is now pretty old
@clayinfor any updates on this one? Been sitting a long time |
@clayinfor any updates on this one? Been sitting a long time. Shouldnt need too much to finish it? |
…osition-in-header-overflow-menu Conflicts: doc/CHANGELOG.md src/components/ids-popup-menu/ids-popup-menu.ts
hey @tmcconechy, let's merge this, and create a new task to address the remaining issues. |
@clayinfor ok great. Can you make the issue as im not sure i know whats left? |
Ok @tmcconechy , I used John's comment to create an issue here. |
Explain the details for making this change. What existing problem does the pull request solve?
Fix so that menus and submenu popup positions are correct when using
IdsToolbar
insideIdsAppMenu
(andIdsHeader
)Related github/jira issue (required):
Closes #1806
Steps necessary to review your pull request (required):
nvm use && npm install && npm run start
Included in this Pull Request: