Skip to content

calcite-panel: Ability to scroll to top #3924

@jmanke

Description

@jmanke

Description

I am using a calcite-panel that needs its scroll position reset to the top when a certain action happens.

Acceptance Criteria

Having the ability to set the scroll position of the calcite-panel. In my case, I only need to set the scroll position to (0, 0).

Relevant Info

In the absence of the shadow-dom, I would use element.scrollTop to set the scroll position.

Which Component

calcite-panel

Example Use Case

No response

Metadata

Metadata

Assignees

Labels

4 - verifiedIssues that have been tested, confirmed as mitigated, and are ready to close.enhancementIssues tied to a new feature or request.needs triagePlanning workflow - pending design/dev review.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions