apprun 3.37.2 → 3.37.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apprun",
3
- "version": "3.37.2",
3
+ "version": "3.37.3",
4
4
  "description": "JavaScript library that has Elm inspired architecture, event pub-sub and components",
5
5
  "main": "dist/apprun.js",
6
6
  "module": "esm/apprun.js",
@@ -3,7 +3,7 @@
3
3
  * Standards-compliant property/attribute handling with caching and special element support
4
4
  * Features: Skip logic for preserving user interactions during VDOM reconciliation
5
5
  * Exports: updateProps - Main function for DOM element property updates
6
- * Updated: 2025-01-14 - Added skip logic for focus-sensitive, scroll, and media properties
6
+ * Updated: 2025-01-14 - Skip logic for focus-sensitive (selection), scroll, and media properties
7
7
  */
8
8
 
9
9
  import { find, html, svg } from 'property-information';
@@ -192,7 +192,7 @@ function setAttributeOrProperty(element: Element, name: string, value: any, isSv
192
192
  // Skip logic for preventing user interaction disruption during VDOM reconciliation
193
193
  function shouldSkipPatch(dom: HTMLElement, prop: string): boolean {
194
194
  if (document.activeElement === dom) {
195
- return ['value', 'selectionStart', 'selectionEnd', 'selectionDirection']
195
+ return ['selectionStart', 'selectionEnd', 'selectionDirection']
196
196
  .includes(prop);
197
197
  }
198
198
  if (prop === 'scrollTop' || prop === 'scrollLeft') {