Skip to content

Commit 018e13c

Browse files
committed
add example of using setTimout to close the popup
1 parent ee66032 commit 018e13c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ To expedite issues discovery, here are some examples from experience:
1212
- A bundled dependency library that utilizes the eval function, thereby preventing the removal of `unsafe-eval` from the Content Security Policy (CSP) header. It can be arguably intentional, but also may reveal a configuration issue when the package was bundled with webpack config's [devtool: 'eval'](https://webpack.js.org/configuration/devtool/) in production mode.
1313
- A substantial number of hidden video elements in the DOM that were consuming resources, unexpectedly limited to 100 medias per domain.
1414
- An unattended interval that was unintentionally left running and contributed to a slowly growing memory.
15+
- A hard to find/replicate (with touchpad) bug, - when popup closes on click on one of its popup buttons without acting on those buttons, if time between mousedown and mouseup is larger than 100ms. The intent of underlying code was to detect "click outside" case to close the popup, but this implementation caused frustration to mouse device users with heavy/tired/slow finger.
1516

1617
To explore the internals of a complex systems.
1718

0 commit comments

Comments
 (0)