Fomantic-UI icon indicating copy to clipboard operation
Fomantic-UI copied to clipboard

[Modal] When using coupled modal the first one is jumping up before the second is shown

Open filozof595 opened this issue 5 years ago • 0 comments

When using coupled modal the first one is jumping up before the second is shown

Steps to reproduce

  1. You need two coupled modals
  2. The second modal needs to be larger than the screen height
  3. When you call the second modal the first one will jump up before hiding

Expected result

The first modal should just disappear in middle of the screen and show the second modal.

Actual result

The first modal jumps up before hiding. I'm seeing this only when the second modal is larger than the screen height. When the second modal is smaller then the screen height everything is normal.

Testcase

JSFiddle when the second modal is larger than the screen size: Modal Jump

JFFiddle when the second modal is smaller then the screen size: Normal modal behavior

filozof595 avatar Aug 13 '19 06:08 filozof595