woocommerce / woocommerce-admin

(Deprecated) This plugin has been merged to woocommerce/woocommerce
https://woocommerce.github.io/woocommerce-admin/#/
Other
362 stars 146 forks source link

wp-admin nav scrolls off screen on some pages #5863

Closed elizaan36 closed 3 years ago

elizaan36 commented 3 years ago

Describe the bug I noticed that the wp-admin navigation scrolls up with some pages, and in the case of a long scrolling page (like the Home screen) it scrolls completely out of view. Looks like this is only happening on WooCommerce Home, Analytics, and Marketing screens.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'WooCommerce Home', Analytics, or Marketing
  2. Scroll down the page
  3. See error

Expected behavior On legacy screens, the wp-admin navigation menu stays fixed (stops scrolling) once the bottom of the nav reaches the bottom of the viewport, even when the screen content continues to scroll.

Screenshots nav scroll

Additional context If someone could try and reproduce that would be great as my test sites have been bonkers lately - I tested on brand new JN sites in Firefox and Chrome and it was the same.

becdetat commented 3 years ago

I can reproduce this on a JN site:

~But I can't reproduce it on a local site running the latest main branch of WCA.~ I can reproduce it with the latest master version of WooCommerce. I couldn't when running WooCommerce as of 500 commits ago (I rarely update that clone). So this is going to be interesting to track down as there's some interaction between WC and WCA that started happening between now and 500 commits ago.

github-actions[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had any recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] commented 3 years ago

This issue was automatically closed due to being stale. Please feel free to re-open it if you still experience this problem.