Jemt / Fit.UI

Fit.UI is a JavaScript based UI framework built on Object Oriented principles
http://fitui.org
GNU Lesser General Public License v3.0
19 stars 7 forks source link

Dialog: Button to dismiss dialog will let click/touch continue to any clickable element behind dialog #201

Closed Jemt closed 2 months ago

Jemt commented 2 months ago

See https://jsfiddle.net/37uyp8rc/4/

document.documentElement.onclick = function(e)
{
    var time = Fit.Date.Format(new Date(), "hh:mm:ss");
    var ran = Math.random();
    var msg = "Time is: " + time + "<br>Dismiss using mouse/touch, please!<br><br>" + ran;
    Fit.Controls.Dialog.Alert(msg);
}

A new dialog will be reopened, every time we dismiss it by clicking/touching the OK button.

Make sure to test fix on both desktop and touch devices.

Jemt commented 2 months ago

Sorry, invalid test case, and I'm unable to reproduce the bug in a native Fit.UI sample. Investigating futher. Closing for now.