Skip to content

slickGoTo takes away focus and scroll page to slider #1935

Open
@mixalbl4-127

Description

@mixalbl4-127

This commit breaks slickGoTo function, because it takes away focus from any other elements (ex: input / textarea) and scrolled page to slider (even if it's at the very bottom of the page)

Example of bug:
https://codesandbox.io/s/react-slick-playground-forked-tk19k?file=/index.js

Remove please this code OR make new props like enableBrowserFocus with default false value

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