Skip to content

transitionEnd not defined, nasty bug#887

Open
chrisgraham wants to merge 1 commit intoosano:devfrom
chrisgraham:dev
Open

transitionEnd not defined, nasty bug#887
chrisgraham wants to merge 1 commit intoosano:devfrom
chrisgraham:dev

Conversation

@chrisgraham
Copy link
Copy Markdown

hasTransition is defined in the object, but transitionEnd is not.
This is a regression from previous behavior.

What this causes is the cookie dialog to disappear to opacity:0 but remain active in the DOM. It steals focus from anything under it, including form buttons.

@chrisgraham
Copy link
Copy Markdown
Author

I'm not in a position to set up a full JS build chain for this kind of thing and make a perfect commit, so I've put this pull request through as more of a bug report so you can see what needs fixing.

@chrisgraham
Copy link
Copy Markdown
Author

Also I wanted to note that contrary to https://www.osano.com/cookieconsent/documentation/javascript-api/ (which I understand may not represent the latest code in the Open Source repository), cookieconsent.hasTransition is not configurable in this code.

@ian-dowhile
Copy link
Copy Markdown

I'm seeing the same issue reported by users of smartphone devices. The cookie dialog sits over links and buttons, so although they are visible, they are not selectable by the user. Would be great to see this resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants