{"id":466406,"date":"2025-07-07T21:02:19","date_gmt":"2025-07-07T21:02:19","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=466406"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=466406","title":{"rendered":"<span>\u041d\u044e\u0430\u043d\u0441\u044b \u043a\u0440\u043e\u0441\u0441\u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0435\u043d\u043d\u043e\u0439 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u043d\u0430 Vue \u0438 React<\/span>"},"content":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u042d\u0442\u043e\u0442 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442 \u2014 \u043d\u0435 \u043f\u0440\u043e\u0441\u0442\u043e \u0441\u043f\u0438\u0441\u043e\u043a, \u0430 \u0432\u044b\u0436\u0438\u043c\u043a\u0430 \u0431\u043e\u043b\u0438, \u0448\u0438\u0448\u0435\u043a \u0438 \u043d\u0435\u043e\u0436\u0438\u0434\u0430\u043d\u043d\u044b\u0445 \u043e\u0442\u043a\u0440\u044b\u0442\u0438\u0439, \u0441 \u043a\u043e\u0442\u043e\u0440\u044b\u043c\u0438 \u0441\u0442\u0430\u043b\u043a\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u043f\u043e\u0447\u0442\u0438 \u043a\u0430\u0436\u0434\u044b\u0439 \u0444\u0440\u043e\u043d\u0442\u0435\u043d\u0434\u0435\u0440. \u041d\u0435\u0432\u0430\u0436\u043d\u043e, Vue \u0442\u044b \u0432\u044b\u0431\u0440\u0430\u043b \u0438\u043b\u0438 React, \u0435\u0441\u043b\u0438 \u0442\u0432\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0434\u043e\u043b\u0436\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435 \u043d\u0430 \u0430\u0439\u0444\u043e\u043d\u0435 \u043f\u044f\u0442\u0438\u043b\u0435\u0442\u043d\u0435\u0439 \u0434\u0430\u0432\u043d\u043e\u0441\u0442\u0438 \u2014 \u0434\u043e\u0431\u0440\u043e \u043f\u043e\u0436\u0430\u043b\u043e\u0432\u0430\u0442\u044c \u0432 \u043a\u043b\u0443\u0431. \u0417\u0434\u0435\u0441\u044c \u0431\u0443\u0434\u0435\u0442 \u0432\u0441\u0451: \u043e\u0442 \u0441\u0442\u0440\u0430\u043d\u043d\u043e\u0441\u0442\u0435\u0439 \u0441 Safari \u0434\u043e \u043d\u0435\u043e\u0436\u0438\u0434\u0430\u043d\u043d\u044b\u0445 \u043f\u0440\u043e\u0431\u043b\u0435\u043c \u0441 \u0441\u0438\u043d\u0442\u0435\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u043c\u0438 \u0441\u043e\u0431\u044b\u0442\u0438\u044f\u043c\u0438. <\/p>\n<h3>\u041d\u044e\u0430\u043d\u0441\u044b \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u044b\u0445 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u043e\u0432 \u0438 PWA<\/h3>\n<p><strong>iOS Safari \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 Notification API \u0431\u0435\u0437 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 PWA<\/strong><\/p>\n<p><strong>\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430:<\/strong> \u041d\u0430 iOS \u0442\u044b \u043d\u0435 \u043c\u043e\u0436\u0435\u0448\u044c \u043f\u0440\u043e\u0441\u0442\u043e \u0432\u044b\u0437\u0432\u0430\u0442\u044c <code>new Notification(...)<\/code> \u2014 API \u0431\u0443\u0434\u0435\u0442 \u043d\u0435\u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e, \u043f\u043e\u043a\u0430 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u043d\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442 \u0441\u0430\u0439\u0442 \u043a\u0430\u043a PWA \u043d\u0430 \u0434\u043e\u043c\u0430\u0448\u043d\u0438\u0439 \u044d\u043a\u0440\u0430\u043d. \u0422\u0430\u043a \u0436\u0435, \u0432 Safari \u043f\u0440\u043e\u0441\u0442\u043e \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u043a\u043b\u0430\u0441\u0441 Notification, \u0431\u0440\u0430\u0443\u0437\u0435\u0440 \u0435\u0433\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u043d\u0435 \u0438\u043c\u043f\u043b\u0438\u043c\u0435\u043d\u0442\u0438\u0440\u0443\u0435\u0442 \u043d\u0430 \u044d\u0442\u0430\u043f\u0435 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u043d\u043e\u0433\u043e \u043e\u043a\u043d\u0430.<\/p>\n<p><strong>\u0420\u0435\u0448\u0435\u043d\u0438\u0435:<\/strong><\/p>\n<p>&#8212; \u0427\u0442\u043e\u0431\u044b \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u043c\u043e\u0436\u043d\u043e \u043b\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0443:<\/p>\n<p><code>typeof window !== 'undefined' &amp;&amp; 'Notification' in window;<\/code><\/p>\n<p>\ud83d\udd17 <a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/API\/Notifications_API\" rel=\"noopener noreferrer nofollow\">MDN \u2014 Notification API<\/a> <\/p>\n<p>\ud83d\udd17 <a href=\"https:\/\/webkit.org\/blog\/12945\/meet-web-push-on-ios\/\" rel=\"noopener noreferrer nofollow\">WebKit \u2014 Push Notifications<\/a><\/p>\n<hr\/>\n<p><strong>Safari \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 <\/strong><code><strong>input[type=\"date\"]<\/strong><\/code><strong> \u043a\u0430\u043a \u043f\u043e\u043b\u043e\u0436\u0435\u043d\u043e<\/strong><\/p>\n<p><strong>\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430:<\/strong> \u041d\u0430 iOS Safari \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u0442 <code>input[type=\"date\"]<\/code> \u043a\u0430\u043a \u043e\u0431\u044b\u0447\u043d\u043e\u0435 \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u043e\u0435 \u043f\u043e\u043b\u0435 \u0431\u0435\u0437 \u043d\u0430\u0442\u0438\u0432\u043d\u043e\u0433\u043e \u0432\u044b\u0431\u043e\u0440\u0430 \u0434\u0430\u0442\u044b.<\/p>\n<p><strong>\u041f\u0440\u0438\u043c\u0435\u0440:<\/strong><\/p>\n<p><code>&lt;!-- \u041e\u0436\u0438\u0434\u0430\u0435\u0442\u0441\u044f \u043d\u0430\u0442\u0438\u0432\u043d\u044b\u0439 datepicker, \u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u043e\u0431\u044b\u0447\u043d\u044b\u0439 input --&gt;<\/code><\/p>\n<p><code>&lt;input type=\"date\" \/&gt;<\/code><\/p>\n<p><strong>\u0420\u0435\u0448\u0435\u043d\u0438\u0435:<\/strong><\/p>\n<p>&#8212; \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043a\u0430\u0441\u0442\u043e\u043c\u043d\u044b\u0435 datepickers (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, <code>vue-datepicker<\/code>, <code>react-datepicker<\/code>).<\/p>\n<p>&#8212; \u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0442\u044c \u043d\u0430\u043b\u0438\u0447\u0438\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0438 \u0447\u0435\u0440\u0435\u0437 <code>input.type === 'date'<\/code>.<\/p>\n<p>\ud83d\udd17 <a href=\"https:\/\/caniuse.com\/input-datetime\" rel=\"noopener noreferrer nofollow\">caniuse \u2014 input type=&#187;date&#187;<\/a><\/p>\n<hr\/>\n<p><strong>iOS Safari \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 <\/strong><code><strong>position: sticky<\/strong><\/code><strong> \u0432\u043d\u0443\u0442\u0440\u0438 <\/strong><code><strong>overflow: hidden<\/strong><\/code><\/p>\n<p><strong>\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430:<\/strong> \u0415\u0441\u043b\u0438 \u0442\u044b \u043e\u0431\u043e\u0440\u0430\u0447\u0438\u0432\u0430\u0435\u0448\u044c \u0431\u043b\u043e\u043a \u0441\u043e <code>position: sticky<\/code> \u0432 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440 \u0441 <code>overflow: hidden<\/code>, \u0442\u043e <code>sticky<\/code> \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442.<\/p>\n<p><strong>\u041f\u0440\u0438\u043c\u0435\u0440:<\/strong><\/p>\n<p><code>.wrapper {<\/code><\/p>\n<p><code>\u00a0 overflow: hidden;<\/code><\/p>\n<p><code>}<\/code><\/p>\n<p><code>.sticky-header {<\/code><\/p>\n<p><code>\u00a0 position: sticky;<\/code><\/p>\n<p><code>\u00a0 top: 0;<\/code><\/p>\n<p><code>}<\/code><\/p>\n<p><strong>\u0420\u0435\u0448\u0435\u043d\u0438\u0435:<\/strong><\/p>\n<p>&#8212; \u041b\u0438\u0431\u043e \u043d\u0435 \u0437\u0430\u0434\u0430\u0432\u0430\u0439 <code>overflow: hidden<\/code>, \u043b\u0438\u0431\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439 \u0430\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u043d\u0443\u044e \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044e \u0447\u0435\u0440\u0435\u0437 JS.<\/p>\n<p>\ud83d\udd17 <a href=\"https:\/\/bugs.webkit.org\/show_bug.cgi?id=175027\" rel=\"noopener noreferrer nofollow\">WebKit bug tracker<\/a><\/p>\n<hr\/>\n<p><strong>Safari \u0437\u0430\u043f\u0440\u0435\u0449\u0430\u0435\u0442 <\/strong><code><strong>getUserMedia()<\/strong><\/code><strong> \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430\u0445 \u0431\u0435\u0437 HTTPS \u0438 \u0431\u0435\u0437 \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f<\/strong><\/p>\n<p><strong>\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430:<\/strong> \u041a\u0430\u043c\u0435\u0440\u0430 \u0438 \u043c\u0438\u043a\u0440\u043e\u0444\u043e\u043d \u0447\u0435\u0440\u0435\u0437 <code>getUserMedia()<\/code> \u0432 iOS Safari \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0442, \u0435\u0441\u043b\u0438:<\/p>\n<p>&#8212; \u0421\u0442\u0440\u0430\u043d\u0438\u0446\u0430 \u043d\u0435 \u043f\u043e\u0434 HTTPS<\/p>\n<p>&#8212; \u041d\u0435 \u0431\u044b\u043b\u043e \u043a\u043b\u0438\u043a\u0430 \u043f\u043e \u044d\u043a\u0440\u0430\u043d\u0443<\/p>\n<p><strong>\u041f\u0440\u0438\u043c\u0435\u0440:<\/strong><\/p>\n<p><code>navigator.mediaDevices<\/code><\/p>\n<p><code>\u00a0 .getUserMedia({ video: true })<\/code><\/p>\n<p><code>\u00a0 .then((stream) =&gt; {<\/code><\/p>\n<p><code>\u00a0 \u00a0 \/\/ \u0420\u0430\u0431\u043e\u0442\u0430 \u0441 \u0432\u0438\u0434\u0435\u043e-\u043f\u043e\u0442\u043e\u043a\u043e\u043c<\/code><\/p>\n<p><code>\u00a0 })<\/code><\/p>\n<p><code>\u00a0 .catch((err) =&gt; {<\/code><\/p>\n<p><code>\u00a0 \u00a0 console.error('\u041e\u0448\u0438\u0431\u043a\u0430 \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a \u043a\u0430\u043c\u0435\u0440\u0435', err);<\/code><\/p>\n<p><code>\u00a0 });<\/code><\/p>\n<p><strong>\u0420\u0435\u0448\u0435\u043d\u0438\u0435:<\/strong><\/p>\n<p>&#8212; \u0412\u0441\u0435\u0433\u0434\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c HTTPS<\/p>\n<p>&#8212; \u0417\u0430\u043f\u0440\u0430\u0448\u0438\u0432\u0430\u0442\u044c \u0434\u043e\u0441\u0442\u0443\u043f <strong>\u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e \u043a\u043b\u0438\u043a\u0443 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f<\/strong> (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043f\u043e \u043a\u043d\u043e\u043f\u043a\u0435)<\/p>\n<p>\ud83d\udd17 <a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/API\/MediaDevices\/getUserMedia\" rel=\"noopener noreferrer nofollow\">MDN \u2014 getUserMedia<\/a><\/p>\n<hr\/>\n<p><code><strong>backdrop-filter<\/strong><\/code><strong> \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043d\u0435\u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u043e \u0432 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 Android-\u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430\u0445<\/strong><\/p>\n<p><strong>\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430:<\/strong> \u0412 Chrome \u043d\u0430 Android <code>backdrop-filter: blur(...)<\/code> \u043c\u043e\u0436\u0435\u0442 \u043b\u0438\u0431\u043e \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0432\u043e\u0432\u0441\u0435, \u043b\u0438\u0431\u043e \u043b\u043e\u043c\u0430\u0442\u044c layout.<\/p>\n<p><strong>\u041f\u0440\u0438\u043c\u0435\u0440:<\/strong><\/p>\n<p><code>.glass {<\/code><\/p>\n<p><code>\u00a0 backdrop-filter: blur(10px);<\/code><\/p>\n<p><code>\u00a0 background: rgba(255, 255, 255, 0.2);<\/code><\/p>\n<p><code>}<\/code><\/p>\n<p><strong>\u0420\u0435\u0448\u0435\u043d\u0438\u0435:<\/strong><\/p>\n<p>&#8212; \u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0439 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0443 \u0447\u0435\u0440\u0435\u0437 <code>@supports<\/code><\/p>\n<p>&#8212; \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439 fallback \u0441 \u043f\u043e\u043b\u0443\u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u044b\u043c \u0446\u0432\u0435\u0442\u043e\u043c<\/p>\n<p>\ud83d\udd17 <a href=\"https:\/\/caniuse.com\/css-backdrop-filter\" rel=\"noopener noreferrer nofollow\">caniuse \u2014 backdrop-filter<\/a><\/p>\n<hr\/>\n<p><strong>Android Chrome \u0438\u0433\u043d\u043e\u0440\u0438\u0440\u0443\u0435\u0442 <\/strong><code><strong>scrollIntoView({ behavior: 'smooth' })<\/strong><\/code><strong> \u0432 iframe<\/strong><\/p>\n<p><strong>\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430:<\/strong> \u0412\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u0448\u044c \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 \u0432 iframe \u2014 smooth scroll \u0431\u043e\u043b\u044c\u0448\u0435 \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043d\u0430 Android.<\/p>\n<p><strong>\u041f\u0440\u0438\u043c\u0435\u0440:<\/strong><\/p>\n<p><code>document.querySelector('#target').scrollIntoView({ behavior: 'smooth'<\/code><\/p>\n<p><strong>\u0420\u0435\u0448\u0435\u043d\u0438\u0435:<\/strong><\/p>\n<p>&#8212; \u0412 iframe \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043a\u0430\u0441\u0442\u043e\u043c\u043d\u0443\u044e \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u044e \u043f\u0440\u043e\u043a\u0440\u0443\u0442\u043a\u0438 \u0447\u0435\u0440\u0435\u0437 JS (<code>window.scrollTo + requestAnimationFrame<\/code>)<\/p>\n<p>\ud83d\udd17 <a href=\"https:\/\/stackoverflow.com\/questions\/51822407\/scrollintoview-smooth-not-working-in-iframe-in-ios\" rel=\"noopener noreferrer nofollow\">Stack Overflow discussion<\/a><\/p>\n<hr\/>\n<p><strong>\u041f\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u043e\u0432<\/strong><\/p>\n<p><strong>React \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u0443\u0435\u0442 \u0441\u0438\u043d\u0442\u0435\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0441\u043e\u0431\u044b\u0442\u0438\u044f, \u0430 Vue \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0441 \u043d\u0430\u0442\u0438\u0432\u043d\u044b\u043c\u0438<\/strong><\/p>\n<p><strong>\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430:<\/strong> \u0412 Vue \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043e\u0442\u043b\u0438\u0447\u043d\u043e, \u043d\u043e \u043f\u043e\u0441\u043b\u0435 \u043f\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043d\u0430 React \u0432\u0441\u0451 \u043b\u043e\u043c\u0430\u0435\u0442\u0441\u044f: \u0432\u0441\u043f\u043b\u044b\u0442\u0438\u0435, \u043e\u0442\u043c\u0435\u043d\u0430 \u0441\u043e\u0431\u044b\u0442\u0438\u0439, \u0438\u043b\u0438 <code>event.currentTarget<\/code> \u0432\u0435\u0434\u0451\u0442 \u0441\u0435\u0431\u044f \u0441\u0442\u0440\u0430\u043d\u043d\u043e.<\/p>\n<p><strong>\u041f\u0440\u0438\u043c\u0435\u0440:<\/strong> \u0422\u0443\u043b\u0442\u0438\u043f\u044b \u0432 Vue \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u043b\u0438\u0441\u044c \u043f\u0440\u0438 <code>mouseenter<\/code>\/<code>mouseleave<\/code>, \u043d\u043e \u0432 React \u043f\u0435\u0440\u0435\u0441\u0442\u0430\u043b\u0438 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e <code>SyntheticEvent<\/code> \u043d\u0435 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442 <code>MouseEvent<\/code> \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e.<\/p>\n<p><strong>\u0420\u0435\u0448\u0435\u043d\u0438\u0435:<\/strong><\/p>\n<p>&#8212; \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439 <code>nativeEvent<\/code> \u0435\u0441\u043b\u0438 \u043d\u0443\u0436\u043d\u043e \u0434\u043e\u0431\u0440\u0430\u0442\u044c\u0441\u044f \u0434\u043e \u043d\u0430\u0441\u0442\u043e\u044f\u0449\u0435\u0433\u043e \u0441\u043e\u0431\u044b\u0442\u0438\u044f.<\/p>\n<p>&#8212; \u0412\u0441\u0435\u0433\u0434\u0430 \u0447\u0438\u0442\u0430\u0439 <a href=\"https:\/\/react.dev\/reference\/react-dom\/SyntheticEvent\" rel=\"noopener noreferrer nofollow\">React SyntheticEvent<\/a><\/p>\n<p>\ud83d\udd17 <a href=\"https:\/\/react.dev\/reference\/react-dom\/SyntheticEvent\" rel=\"noopener noreferrer nofollow\">React Docs \u2014 SyntheticEvent<\/a><\/p>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/925732\/\"> https:\/\/habr.com\/ru\/articles\/925732\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u042d\u0442\u043e\u0442 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442 \u2014 \u043d\u0435 \u043f\u0440\u043e\u0441\u0442\u043e \u0441\u043f\u0438\u0441\u043e\u043a, \u0430 \u0432\u044b\u0436\u0438\u043c\u043a\u0430 \u0431\u043e\u043b\u0438, \u0448\u0438\u0448\u0435\u043a \u0438 \u043d\u0435\u043e\u0436\u0438\u0434\u0430\u043d\u043d\u044b\u0445 \u043e\u0442\u043a\u0440\u044b\u0442\u0438\u0439, \u0441 \u043a\u043e\u0442\u043e\u0440\u044b\u043c\u0438 \u0441\u0442\u0430\u043b\u043a\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u043f\u043e\u0447\u0442\u0438 \u043a\u0430\u0436\u0434\u044b\u0439 \u0444\u0440\u043e\u043d\u0442\u0435\u043d\u0434\u0435\u0440. \u041d\u0435\u0432\u0430\u0436\u043d\u043e, Vue \u0442\u044b \u0432\u044b\u0431\u0440\u0430\u043b \u0438\u043b\u0438 React, \u0435\u0441\u043b\u0438 \u0442\u0432\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0434\u043e\u043b\u0436\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435 \u043d\u0430 \u0430\u0439\u0444\u043e\u043d\u0435 \u043f\u044f\u0442\u0438\u043b\u0435\u0442\u043d\u0435\u0439 \u0434\u0430\u0432\u043d\u043e\u0441\u0442\u0438 \u2014 \u0434\u043e\u0431\u0440\u043e \u043f\u043e\u0436\u0430\u043b\u043e\u0432\u0430\u0442\u044c \u0432 \u043a\u043b\u0443\u0431. \u0417\u0434\u0435\u0441\u044c \u0431\u0443\u0434\u0435\u0442 \u0432\u0441\u0451: \u043e\u0442 \u0441\u0442\u0440\u0430\u043d\u043d\u043e\u0441\u0442\u0435\u0439 \u0441 Safari \u0434\u043e \u043d\u0435\u043e\u0436\u0438\u0434\u0430\u043d\u043d\u044b\u0445 \u043f\u0440\u043e\u0431\u043b\u0435\u043c \u0441 \u0441\u0438\u043d\u0442\u0435\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u043c\u0438 \u0441\u043e\u0431\u044b\u0442\u0438\u044f\u043c\u0438. <\/p>\n<h3>\u041d\u044e\u0430\u043d\u0441\u044b \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u044b\u0445 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u043e\u0432 \u0438 PWA<\/h3>\n<p><strong>iOS Safari \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 Notification API \u0431\u0435\u0437 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 PWA<\/strong><\/p>\n<p><strong>\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430:<\/strong> \u041d\u0430 iOS \u0442\u044b \u043d\u0435 \u043c\u043e\u0436\u0435\u0448\u044c \u043f\u0440\u043e\u0441\u0442\u043e \u0432\u044b\u0437\u0432\u0430\u0442\u044c <code>new Notification(...)<\/code> \u2014 API \u0431\u0443\u0434\u0435\u0442 \u043d\u0435\u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e, \u043f\u043e\u043a\u0430 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u043d\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442 \u0441\u0430\u0439\u0442 \u043a\u0430\u043a PWA \u043d\u0430 \u0434\u043e\u043c\u0430\u0448\u043d\u0438\u0439 \u044d\u043a\u0440\u0430\u043d. \u0422\u0430\u043a \u0436\u0435, \u0432 Safari \u043f\u0440\u043e\u0441\u0442\u043e \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u043a\u043b\u0430\u0441\u0441 Notification, \u0431\u0440\u0430\u0443\u0437\u0435\u0440 \u0435\u0433\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u043d\u0435 \u0438\u043c\u043f\u043b\u0438\u043c\u0435\u043d\u0442\u0438\u0440\u0443\u0435\u0442 \u043d\u0430 \u044d\u0442\u0430\u043f\u0435 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u043d\u043e\u0433\u043e \u043e\u043a\u043d\u0430.<\/p>\n<p><strong>\u0420\u0435\u0448\u0435\u043d\u0438\u0435:<\/strong><\/p>\n<p>&#8212; \u0427\u0442\u043e\u0431\u044b \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u043c\u043e\u0436\u043d\u043e \u043b\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0443:<\/p>\n<p><code>typeof window !== 'undefined' &amp;&amp; 'Notification' in window;<\/code><\/p>\n<p>\ud83d\udd17 <a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/API\/Notifications_API\" rel=\"noopener noreferrer nofollow\">MDN \u2014 Notification API<\/a> <\/p>\n<p>\ud83d\udd17 <a href=\"https:\/\/webkit.org\/blog\/12945\/meet-web-push-on-ios\/\" rel=\"noopener noreferrer nofollow\">WebKit \u2014 Push Notifications<\/a><\/p>\n<hr\/>\n<p><strong>Safari \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 <\/strong><code><strong>input[type=\"date\"]<\/strong><\/code><strong> \u043a\u0430\u043a \u043f\u043e\u043b\u043e\u0436\u0435\u043d\u043e<\/strong><\/p>\n<p><strong>\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430:<\/strong> \u041d\u0430 iOS Safari \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u0442 <code>input[type=\"date\"]<\/code> \u043a\u0430\u043a \u043e\u0431\u044b\u0447\u043d\u043e\u0435 \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u043e\u0435 \u043f\u043e\u043b\u0435 \u0431\u0435\u0437 \u043d\u0430\u0442\u0438\u0432\u043d\u043e\u0433\u043e \u0432\u044b\u0431\u043e\u0440\u0430 \u0434\u0430\u0442\u044b.<\/p>\n<p><strong>\u041f\u0440\u0438\u043c\u0435\u0440:<\/strong><\/p>\n<p><code>&lt;!-- \u041e\u0436\u0438\u0434\u0430\u0435\u0442\u0441\u044f \u043d\u0430\u0442\u0438\u0432\u043d\u044b\u0439 datepicker, \u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u043e\u0431\u044b\u0447\u043d\u044b\u0439 input --&gt;<\/code><\/p>\n<p><code>&lt;input type=\"date\" \/&gt;<\/code><\/p>\n<p><strong>\u0420\u0435\u0448\u0435\u043d\u0438\u0435:<\/strong><\/p>\n<p>&#8212; \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043a\u0430\u0441\u0442\u043e\u043c\u043d\u044b\u0435 datepickers (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, <code>vue-datepicker<\/code>, <code>react-datepicker<\/code>).<\/p>\n<p>&#8212; \u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0442\u044c \u043d\u0430\u043b\u0438\u0447\u0438\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0438 \u0447\u0435\u0440\u0435\u0437 <code>input.type === 'date'<\/code>.<\/p>\n<p>\ud83d\udd17 <a href=\"https:\/\/caniuse.com\/input-datetime\" rel=\"noopener noreferrer nofollow\">caniuse \u2014 input type=&#187;date&#187;<\/a><\/p>\n<hr\/>\n<p><strong>iOS Safari \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 <\/strong><code><strong>position: sticky<\/strong><\/code><strong> \u0432\u043d\u0443\u0442\u0440\u0438 <\/strong><code><strong>overflow: hidden<\/strong><\/code><\/p>\n<p><strong>\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430:<\/strong> \u0415\u0441\u043b\u0438 \u0442\u044b \u043e\u0431\u043e\u0440\u0430\u0447\u0438\u0432\u0430\u0435\u0448\u044c \u0431\u043b\u043e\u043a \u0441\u043e <code>position: sticky<\/code> \u0432 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440 \u0441 <code>overflow: hidden<\/code>, \u0442\u043e <code>sticky<\/code> \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442.<\/p>\n<p><strong>\u041f\u0440\u0438\u043c\u0435\u0440:<\/strong><\/p>\n<p><code>.wrapper {<\/code><\/p>\n<p><code>\u00a0 overflow: hidden;<\/code><\/p>\n<p><code>}<\/code><\/p>\n<p><code>.sticky-header {<\/code><\/p>\n<p><code>\u00a0 position: sticky;<\/code><\/p>\n<p><code>\u00a0 top: 0;<\/code><\/p>\n<p><code>}<\/code><\/p>\n<p><strong>\u0420\u0435\u0448\u0435\u043d\u0438\u0435:<\/strong><\/p>\n<p>&#8212; \u041b\u0438\u0431\u043e \u043d\u0435 \u0437\u0430\u0434\u0430\u0432\u0430\u0439 <code>overflow: hidden<\/code>, \u043b\u0438\u0431\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439 \u0430\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u043d\u0443\u044e \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044e \u0447\u0435\u0440\u0435\u0437 JS.<\/p>\n<p>\ud83d\udd17 <a href=\"https:\/\/bugs.webkit.org\/show_bug.cgi?id=175027\" rel=\"noopener noreferrer nofollow\">WebKit bug tracker<\/a><\/p>\n<hr\/>\n<p><strong>Safari \u0437\u0430\u043f\u0440\u0435\u0449\u0430\u0435\u0442 <\/strong><code><strong>getUserMedia()<\/strong><\/code><strong> \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430\u0445 \u0431\u0435\u0437 HTTPS \u0438 \u0431\u0435\u0437 \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f<\/strong><\/p>\n<p><strong>\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430:<\/strong> \u041a\u0430\u043c\u0435\u0440\u0430 \u0438 \u043c\u0438\u043a\u0440\u043e\u0444\u043e\u043d \u0447\u0435\u0440\u0435\u0437 <code>getUserMedia()<\/code> \u0432 iOS Safari \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0442, \u0435\u0441\u043b\u0438:<\/p>\n<p>&#8212; \u0421\u0442\u0440\u0430\u043d\u0438\u0446\u0430 \u043d\u0435 \u043f\u043e\u0434 HTTPS<\/p>\n<p>&#8212; \u041d\u0435 \u0431\u044b\u043b\u043e \u043a\u043b\u0438\u043a\u0430 \u043f\u043e \u044d\u043a\u0440\u0430\u043d\u0443<\/p>\n<p><strong>\u041f\u0440\u0438\u043c\u0435\u0440:<\/strong><\/p>\n<p><code>navigator.mediaDevices<\/code><\/p>\n<p><code>\u00a0 .getUserMedia({ video: true })<\/code><\/p>\n<p><code>\u00a0 .then((stream) =&gt; {<\/code><\/p>\n<p><code>\u00a0 \u00a0 \/\/ \u0420\u0430\u0431\u043e\u0442\u0430 \u0441 \u0432\u0438\u0434\u0435\u043e-\u043f\u043e\u0442\u043e\u043a\u043e\u043c<\/code><\/p>\n<p><code>\u00a0 })<\/code><\/p>\n<p><code>\u00a0 .catch((err) =&gt; {<\/code><\/p>\n<p><code>\u00a0 \u00a0 console.error('\u041e\u0448\u0438\u0431\u043a\u0430 \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a \u043a\u0430\u043c\u0435\u0440\u0435', err);<\/code><\/p>\n<p><code>\u00a0 });<\/code><\/p>\n<p><strong>\u0420\u0435\u0448\u0435\u043d\u0438\u0435:<\/strong><\/p>\n<p>&#8212; \u0412\u0441\u0435\u0433\u0434\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c HTTPS<\/p>\n<p>&#8212; \u0417\u0430\u043f\u0440\u0430\u0448\u0438\u0432\u0430\u0442\u044c \u0434\u043e\u0441\u0442\u0443\u043f <strong>\u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e \u043a\u043b\u0438\u043a\u0443 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f<\/strong> (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043f\u043e \u043a\u043d\u043e\u043f\u043a\u0435)<\/p>\n<p>\ud83d\udd17 <a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/API\/MediaDevices\/getUserMedia\" rel=\"noopener noreferrer nofollow\">MDN \u2014 getUserMedia<\/a><\/p>\n<hr\/>\n<p><code><strong>backdrop-filter<\/strong><\/code><strong> \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043d\u0435\u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u043e \u0432 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 Android-\u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430\u0445<\/strong><\/p>\n<p><strong>\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430:<\/strong> \u0412 Chrome \u043d\u0430 Android <code>backdrop-filter: blur(...)<\/code> \u043c\u043e\u0436\u0435\u0442 \u043b\u0438\u0431\u043e \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0432\u043e\u0432\u0441\u0435, \u043b\u0438\u0431\u043e \u043b\u043e\u043c\u0430\u0442\u044c layout.<\/p>\n<p><strong>\u041f\u0440\u0438\u043c\u0435\u0440:<\/strong><\/p>\n<p><code>.glass {<\/code><\/p>\n<p><code>\u00a0 backdrop-filter: blur(10px);<\/code><\/p>\n<p><code>\u00a0 background: rgba(255, 255, 255, 0.2);<\/code><\/p>\n<p><code>}<\/code><\/p>\n<p><strong>\u0420\u0435\u0448\u0435\u043d\u0438\u0435:<\/strong><\/p>\n<p>&#8212; \u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0439 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0443 \u0447\u0435\u0440\u0435\u0437 <code>@supports<\/code><\/p>\n<p>&#8212; \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439 fallback \u0441 \u043f\u043e\u043b\u0443\u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u044b\u043c \u0446\u0432\u0435\u0442\u043e\u043c<\/p>\n<p>\ud83d\udd17 <a href=\"https:\/\/caniuse.com\/css-backdrop-filter\" rel=\"noopener noreferrer nofollow\">caniuse \u2014 backdrop-filter<\/a><\/p>\n<hr\/>\n<p><strong>Android Chrome \u0438\u0433\u043d\u043e\u0440\u0438\u0440\u0443\u0435\u0442 <\/strong><code><strong>scrollIntoView({ behavior: 'smooth' })<\/strong><\/code><strong> \u0432 iframe<\/strong><\/p>\n<p><strong>\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430:<\/strong> \u0412\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u0448\u044c \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 \u0432 iframe \u2014 smooth scroll \u0431\u043e\u043b\u044c\u0448\u0435 \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043d\u0430 Android.<\/p>\n<p><strong>\u041f\u0440\u0438\u043c\u0435\u0440:<\/strong><\/p>\n<p><code>document.querySelector('#target').scrollIntoView({ behavior: 'smooth'<\/code><\/p>\n<p><strong>\u0420\u0435\u0448\u0435\u043d\u0438\u0435:<\/strong><\/p>\n<p>&#8212; \u0412 iframe \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043a\u0430\u0441\u0442\u043e\u043c\u043d\u0443\u044e \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u044e \u043f\u0440\u043e\u043a\u0440\u0443\u0442\u043a\u0438 \u0447\u0435\u0440\u0435\u0437 JS (<code>window.scrollTo + requestAnimationFrame<\/code>)<\/p>\n<p>\ud83d\udd17 <a href=\"https:\/\/stackoverflow.com\/questions\/51822407\/scrollintoview-smooth-not-working-in-iframe-in-ios\" rel=\"noopener noreferrer nofollow\">Stack Overflow discussion<\/a><\/p>\n<hr\/>\n<p><strong>\u041f\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u043e\u0432<\/strong><\/p>\n<p><strong>React \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u0443\u0435\u0442 \u0441\u0438\u043d\u0442\u0435\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0441\u043e\u0431\u044b\u0442\u0438\u044f, \u0430 Vue \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0441 \u043d\u0430\u0442\u0438\u0432\u043d\u044b\u043c\u0438<\/strong><\/p>\n<p><strong>\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430:<\/strong> \u0412 Vue \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043e\u0442\u043b\u0438\u0447\u043d\u043e, \u043d\u043e \u043f\u043e\u0441\u043b\u0435 \u043f\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043d\u0430 React \u0432\u0441\u0451 \u043b\u043e\u043c\u0430\u0435\u0442\u0441\u044f: \u0432\u0441\u043f\u043b\u044b\u0442\u0438\u0435, \u043e\u0442\u043c\u0435\u043d\u0430 \u0441\u043e\u0431\u044b\u0442\u0438\u0439, \u0438\u043b\u0438 <code>event.currentTarget<\/code> \u0432\u0435\u0434\u0451\u0442 \u0441\u0435\u0431\u044f \u0441\u0442\u0440\u0430\u043d\u043d\u043e.<\/p>\n<p><strong>\u041f\u0440\u0438\u043c\u0435\u0440:<\/strong> \u0422\u0443\u043b\u0442\u0438\u043f\u044b \u0432 Vue \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u043b\u0438\u0441\u044c \u043f\u0440\u0438 <code>mouseenter<\/code>\/<code>mouseleave<\/code>, \u043d\u043e \u0432 React \u043f\u0435\u0440\u0435\u0441\u0442\u0430\u043b\u0438 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e <code>SyntheticEvent<\/code> \u043d\u0435 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442 <code>MouseEvent<\/code> \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e.<\/p>\n<p><strong>\u0420\u0435\u0448\u0435\u043d\u0438\u0435:<\/strong><\/p>\n<p>&#8212; \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439 <code>nativeEvent<\/code> \u0435\u0441\u043b\u0438 \u043d\u0443\u0436\u043d\u043e \u0434\u043e\u0431\u0440\u0430\u0442\u044c\u0441\u044f \u0434\u043e \u043d\u0430\u0441\u0442\u043e\u044f\u0449\u0435\u0433\u043e \u0441\u043e\u0431\u044b\u0442\u0438\u044f.<\/p>\n<p>&#8212; \u0412\u0441\u0435\u0433\u0434\u0430 \u0447\u0438\u0442\u0430\u0439 <a href=\"https:\/\/react.dev\/reference\/react-dom\/SyntheticEvent\" rel=\"noopener noreferrer nofollow\">React SyntheticEvent<\/a><\/p>\n<p>\ud83d\udd17 <a href=\"https:\/\/react.dev\/reference\/react-dom\/SyntheticEvent\" rel=\"noopener noreferrer nofollow\">React Docs \u2014 SyntheticEvent<\/a><\/p>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/925732\/\"> https:\/\/habr.com\/ru\/articles\/925732\/<\/a><br \/><\/br><\/br><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-466406","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/466406","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=466406"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/466406\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=466406"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=466406"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=466406"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}