Skip to content

Close on typing #9

Description

@ixlipixli

Hi,

my popup always closes when I start to type something into the form.
I am using the fixed version and I can't figure out why it always closes.

Does someone have an idea?

Found the Problem :

document.onkeydown = function(evt) {
            evt = evt || window.event;
            if( self.options.closeEl !== '' ) {
                var closeEl = self.el.querySelector( self.options.closeEl );
                if( closeEl && self.expanded) {
                    self.toggle();
                }
            }
        };

This caused the closing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions