Skip to content

Jumpping bug in modal when button have position: relative #281

Description

@jchatel

Hi there, I noticed a super strange behaviour when my modal will jump up and down if I have my mouse over some buttons.

Check out the quick video I made of it: https://youtu.be/dY8Em-O2R54

It uses TextAngular in my modal, grey buttons are not using position:relative so they don't trigger this behaviour for some reason.

If the modal is not scrolled, or if button have not position: relative, then no jumping happens.

If I disable snap.js, then the behaviour stops.

Any idea what the problem could be? Seems like a rendering bug as nothing seems to change in the DOM nor any event is fired.

I originally posted this on TextAngular as I think this was something done by their code: textAngular/textAngular#1392

Activity

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

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