Skip to content

[5.1.4]: Sticky scrollbar stops working when switching between sources #15047

@thupsi

Description

@thupsi

What happened?

Description

The new sticky scrollbar has a bug when switching between sources, where it works only on the first source where it appears.

Steps to reproduce

  1. Go to an element index and switch to a source where the sticky scrollbar is displayed.
  2. Switch to another source.

Expected behavior

The scrollbar either disappears, or is updated and attached to the new source.

Actual behavior

The scrolllbar does not update according to the current source, and:

  • Does not control (scroll) the newly selected source.
  • Stays visible even when not needed.

Craft CMS version

5.1.4

PHP version

No response

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions