Skip to content

Element/Document offset #1

@tomislavjezidzic

Description

@tomislavjezidzic

Create logic to add a data-scroll-offset to a locked element/document.

Why?
When content is loaded with ajax and if b-scroll-lock is in that ajax unlock method will set scroll to 0. Way to fix this is by adding an offset value to markup and passing it to .unlock(offsetValue).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions