Skip to content

Form e.preventDefault() broken in Firefox (0.8.3-0.8.13) #61

Closed
@dotnetshadow

Description

@dotnetshadow

Hi there,

It seems any code such as the following in Firefox breaks.
Chrome / Edge seem ok, but Firefox doesn't work

document.getElementById('my-form').addEventListener('submit', function (e) { e.preventDefault(); alert('This doesn't get called because the page navigates away'); });
The page just navigates away without being stopped

I tried various versions of the library and v0.8.1 is the last working version
0.8.3-0.8.13 BROKEN

@dahlbyk I noticed you made some changes during 0.8.3 release anything you can think of that would stop it form working in Firefox?

I suspect an issue with this part of the code
v0.8.1...v0.8.3#diff-a2a171449d862fe29692ce031981047d7ab755ae7f84c707aef80701b3ea0c80R728

image

Any help would be much appreciated

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