Skip to content

Child fixed container & smooth scrolling section container #58

@atwaves

Description

@atwaves

Hi. How to make child container fixed relative to window? Smooth scrolling container also is fixed.
And additionally: how to use listener?

this.smooth = new Smooth({
            extends: false,
            // when hide scrollbar
            native: false,
            // when hide scrollbar
            noscrollbar: true,
            section: container,
            ease: 0.15,
            preload: true,
            listener: function(){

                console.log("listen")
            }
           
        })

this.smooth.init()
  • no logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions