Skip to content

Scrolling issues when inside a container that overflows #193

@tkoenig

Description

@tkoenig

What is the problem?

I have a parent element of the selection area with the following style:

  height: 100vh;
  overflow: auto;

What is the current behavior?

When scrolling, the selection area stays in the same position on screen, instead of also scrolling.

Please provide the steps to reproduce and create a CodeSandbox.

https://codesandbox.io/p/sandbox/viselect-vanilla-forked-bjz7jz

What is the expected behavior?

The selection area should also scroll, when scrolling down the screen.

Your environment:

Toolset (e.g. webpack, vite, vue-cli...): esbuild
Version (@viselect/<insert package>): @viselect/[email protected]
Browser:  Safari 16.3
OS:  MacOS Ventura

Metadata

Metadata

Assignees

Labels

duplicateThis issue or pull request already exists

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions