Skip to content
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

Mobile jumplinks do not scroll to correct location (Anchor links) Auro Nav #25

Open
1 of 2 tasks
MattT2305 opened this issue Sep 5, 2023 · 2 comments
Open
1 of 2 tasks
Assignees
Labels

Comments

@MattT2305
Copy link

MattT2305 commented Sep 5, 2023

Describe the bug

Mobile jumplinks do not put focus on correct location - usually about 30px off.

Verify the version of @aurodesignsystem/auro-nav you have installed

The current version is:
See it on NPM!

My project has @aurodesignsystem/auro-nav v1.1.1 installed

To Reproduce

Steps to reproduce the behavior:

  1. Go to https://www.alaskaair.com/account/overview using mobile device display
  2. Click on guest upgrades
  3. use anchor linkage
  4. See error

Are you able to reproduce this issue on the Auro doc site?

  • YES
  • NO

Expected behavior

jumplink to display exact location of page.

Screenshots

Desktop (please complete the following information):

  • OS: [all]
  • Browser [all]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [all]
  • OS: [all]
  • Browser [all safari - varies slightly]

Additional context

NA

@MattT2305 MattT2305 added auro-nav not-reviewed Issue has not been reviewed by Auro team members Type: Bug Bug or Bug fixes labels Sep 5, 2023
@blackfalcon
Copy link
Member

@MattT2305 can you provide an example where you are seeing this issue? This screen capture was taken from Chrome 116 with the mobile inspector. While the mobile UI isn't great, this illustrates that tapping a link in the left moves the content to the right position.

Sep-12-2023 17-53-41

@MattT2305
Copy link
Author

We have a dynamic design that does not have a fixed height which fails on the mobile breakpoint only.

@jason-capsule42 jason-capsule42 removed not-reviewed Issue has not been reviewed by Auro team members Type: Bug Bug or Bug fixes labels Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants