AUTOMATIC1111 / stable-diffusion-webui

Stable Diffusion web UI
GNU Affero General Public License v3.0
143.63k stars 27.03k forks source link

addEventListener {passive: false} #16575

Closed w-e-w closed 1 month ago

w-e-w commented 1 month ago

Description

while passive: false by default there should be no need to specify it as so and we do call .preventDefault() so it has to be non-passive the Chrome browser shows vebros level suggestions which annoys some users see

by specify passive : false Chrome won't output suggestions

this PR is not necessary and serves almost no purpose I don't care if this is merger, I just put this up so I could close the other PR

image

Checklist: