@plastic-js/tsumiki 0.1.84 → 0.1.85

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.
@@ -188,11 +188,10 @@ var Input = (props = {}) => {
188
188
  if (!isPassword) return read(local.type);
189
189
  return showPassword() ? "text" : "password";
190
190
  };
191
- const handleAffixPointerDown = (e) => {
191
+ const handleAffixPointerUp = (e) => {
192
192
  if (effectiveDisabled()) return;
193
193
  const target = e.target;
194
194
  if (target && target.closest && target.closest("button, a, input, select, textarea, label, [contenteditable]")) return;
195
- e.preventDefault();
196
195
  inputEl?.focus();
197
196
  };
198
197
  const renderAffix = (content) => {
@@ -201,7 +200,7 @@ var Input = (props = {}) => {
201
200
  const _el0 = _tmpl.cloneNode(true);
202
201
  insert(_el0, () => content);
203
202
  setProp(_el0, "className", () => affixClass);
204
- setProp(_el0, "onPointerDown", () => handleAffixPointerDown);
203
+ setProp(_el0, "onPointerUp", () => handleAffixPointerUp);
205
204
  return _el0;
206
205
  };
207
206
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plastic-js/tsumiki",
3
- "version": "0.1.84",
3
+ "version": "0.1.85",
4
4
  "description": "A UI component library for Plastic JS.",
5
5
  "license": "MIT",
6
6
  "author": "tigre",