@plastic-js/tsumiki 0.1.79 → 0.1.81
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/dist/components/Input.js
CHANGED
|
@@ -192,6 +192,7 @@ var Input = (props = {}) => {
|
|
|
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();
|
|
195
196
|
inputEl?.focus();
|
|
196
197
|
};
|
|
197
198
|
const renderAffix = (content) => {
|
|
@@ -381,7 +381,7 @@ var List = () => {
|
|
|
381
381
|
};
|
|
382
382
|
return jsx("div", mergeProps(() => part("list"), {
|
|
383
383
|
ref: holdRef,
|
|
384
|
-
className: listClass
|
|
384
|
+
className: `${listClass} scroller`,
|
|
385
385
|
style: () => heldHeight() ? { minHeight: `${heldHeight()}px` } : void 0,
|
|
386
386
|
children: [() => ctx.filter && (() => {
|
|
387
387
|
const _el0 = _tmpl.cloneNode(true);
|