Skip to content

Selecttab is not working if previous is not found and transitions are supported #17

@hkdobrev

Description

@hkdobrev

I have stumbled upon this problem and has successfully solved it. I am opening an issue and posting my code here, so it's not lost and forgotten.

If anyone could create a pull request with it (and compiling of all of the generated js files) it would be great.

Here is the change:

On this line:

The if should be changed to:

if (transition && $previous.length)

This is will allow the next() function to be executed if now previous element is found.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions