menu
techminis

A naukri.com initiative

google-web-stories
Home

>

Programming News

>

Resolving ...
source image

Dev

1M

read

36

img
dot

Image Credit: Dev

Resolving Auto-Scroll issues for overflow container in a Nuxt app

  • The author shares their experience resolving the auto-scroll issue caused by an overflow container in a Nuxt app
  • The initial design involved using CSS flex and overflow properties to make only the main content container scrollable
  • However, issues arose when adding a table of contents and navigating between sections
  • The solution involved removing the height and overflow properties from the body tag and using position: sticky for the header

Read Full Article

like

2 Likes

For uninterrupted reading, download the app