Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compat: map onFocus/onBlur to onfocusin/onfocusout #3355

Merged
merged 3 commits into from
Dec 7, 2021

Conversation

developit
Copy link
Member

@developit developit commented Dec 6, 2021

This makes the events bubble, which is React's behavior.

Fixes #1621

This makes the events bubble, which is React's behavior.
@coveralls
Copy link

coveralls commented Dec 6, 2021

Coverage Status

Coverage remained the same at 99.625% when pulling 9ca505f on compat-focus-bubbling into dd1e281 on master.

@github-actions
Copy link

github-actions bot commented Dec 6, 2021

Size Change: +60 B (0%)

Total Size: 42.2 kB

Filename Size Change
compat/dist/compat.js 3.46 kB +21 B (0%)
compat/dist/compat.module.js 3.44 kB +20 B (0%)
compat/dist/compat.umd.js 3.51 kB +19 B (0%)
ℹ️ View Unchanged
Filename Size Change
debug/dist/debug.js 2.99 kB 0 B
debug/dist/debug.module.js 2.98 kB 0 B
debug/dist/debug.umd.js 3.07 kB 0 B
devtools/dist/devtools.js 232 B 0 B
devtools/dist/devtools.module.js 240 B 0 B
devtools/dist/devtools.umd.js 308 B 0 B
dist/preact.js 3.97 kB 0 B
dist/preact.min.js 4 kB 0 B
dist/preact.module.js 3.99 kB 0 B
dist/preact.umd.js 4.03 kB 0 B
hooks/dist/hooks.js 1.14 kB 0 B
hooks/dist/hooks.module.js 1.16 kB 0 B
hooks/dist/hooks.umd.js 1.22 kB 0 B
jsx-runtime/dist/jsxRuntime.js 317 B 0 B
jsx-runtime/dist/jsxRuntime.module.js 327 B 0 B
jsx-runtime/dist/jsxRuntime.umd.js 395 B 0 B
test-utils/dist/testUtils.js 437 B 0 B
test-utils/dist/testUtils.module.js 439 B 0 B
test-utils/dist/testUtils.umd.js 515 B 0 B

compressed-size-action

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Should onFocus/onBlur bubble or not?
3 participants