Touch events are not triggering after closing the system dialog

Developer
Size
2,274 Kb
Views
34,408

How do I make an touch events are not triggering after closing the system dialog?

Touch events(also click, scroll event) are not triggering after closing the system dialog.After closing system dialogs that are invoked from “click” and “touchend” event, safari ignores touch and click event.. What is a touch events are not triggering after closing the system dialog? How do you make a touch events are not triggering after closing the system dialog? This script and codes were developed by HeeJae Kim on 11 October 2022, Tuesday.

Touch events are not triggering after closing the system dialog Previews

Touch events are not triggering after closing the system dialog - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Touch events are not triggering after closing the system dialog</title> <meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="tableItem"> <p>start</p>
</div>
<div class="tableItem"> <p>row 2</p>
</div>
<div class="tableItem"> <p>row 3</p>
</div>
<div class="tableItem"> <p>row 4</p>
</div>
<div class="tableItem"> <p>row 5</p>
</div>
<div class="tableItem"> <p>row 6</p>
</div>
<div class="tableItem"> <p>row 7</p>
</div>
<div class="tableItem"> <p>row 8</p>
</div>
<div class="tableItem"> <p>row 9</p>
</div>
<div class="tableItem"> <p>row 10</p>
</div>
<div class="tableItem"> <p>row 11</p>
</div>
<div class="tableItem"> <p>end</p>
</div>
<div class="openAlert"> <p>Open Alert</p>
</div> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.2/jquery.min.js'></script> <script src="js/index.js"></script>
</body>
</html>

Touch events are not triggering after closing the system dialog - Script Codes CSS Codes

html, body, div, p { margin: 0; padding: 0;
}
.tableItem { width: 100%; height: 60px; background: linear-gradient(to bottom, rgba(242,246,248,1) 0%,rgba(216,225,231,1) 50%,rgba(181,198,208,1) 51%,rgba(224,239,249,1) 100%);
}
.tableItem p { font-family: sans-serif; font-size: 20px; line-height: 60px; vartical-align: middle; text-align: center;
}
.openAlert { position: fixed; right: 5px; top: 50%; background: black; border-radius: 5px; font-size: 20px; color: white; font-family: sans-serif; padding: 3px;
}

Touch events are not triggering after closing the system dialog - Script Codes JS Codes

$(".openAlert").on("click", function(){ alert("Close me");
})
Touch events are not triggering after closing the system dialog - Script Codes
Touch events are not triggering after closing the system dialog - Script Codes
Home Page Home
Developer HeeJae Kim
Username happyhj
Uploaded October 11, 2022
Rating 3
Size 2,274 Kb
Views 34,408
Do you need developer help for Touch events are not triggering after closing the system dialog?

Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!

HeeJae Kim (happyhj) Script Codes
Create amazing video scripts with AI!

Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!