-
Notifications
You must be signed in to change notification settings - Fork 3k
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
MacOS/Safari - Reports - Navigation bar is not fully visible on the Reports page after resizing the page #56518
Comments
Triggered auto assignment to @maddylewis ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.MacOS/Safari - Reports - Navigation bar is not fully visible on the Reports page after resizing the page What is the root cause of that problem?
App/src/components/Search/SearchStatusBar.tsx Line 195 in 33a03bf
What changes do you think we should make in order to solve the problem?
scrollRef.current?.scrollTo({x: (e.nativeEvent.layout.left as number) - scrollViewLeftRef.current - styles.pl5.paddingLeft}); What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?N/A What alternative solutions did you explore? (Optional)
|
ProposalPlease re-state the problem that we are trying to solve in this issue.MacOS/Safari - Reports - Navigation bar is not fully visible on the Reports page after resizing the page What is the root cause of that problem?When we navigate back from another page, we scroll to the active item. App/src/components/Search/SearchStatusBar.tsx Lines 190 to 196 in 33a03bf
However, since the value we passed to is always larger than expected(scroll view width), causing the scroll to jump to the last item instead of the active one. What changes do you think we should make in order to solve the problem?Instead of relying on App/src/components/Search/SearchStatusBar.tsx Lines 194 to 195 in 33a03bf
if (!isActive || isScrolledRef.current) {
return;
}
isScrolledRef.current = true;
const target = e.target || e.nativeEvent.target;
target.measureLayout(scrollRef.current, (x,) => {
scrollRef.current?.scrollTo({ x: x - styles.pl5.paddingLeft, animated: true });
}) What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?N/A, UI bug What alternative solutions did you explore? (Optional)N/A |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: v9.0.95-0
Reproducible in staging?: Yes
Reproducible in production?: Yes
Issue reported by: Applause Internal Team
Device used: Mac 15.2/Safari
App Component: Other
Action Performed:
Expected Result:
The navigation bar is fully visible on the Reports page
Actual Result:
Navigation bar is not fully visible on the Reports page after resizing the page
Workaround:
Unknown
Platforms:
Screenshots/Videos
Bug6735640_1738879968465.Recording__575.mp4
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: