@neovici/cosmoz-autocomplete
Advanced tools
Comparing version 5.3.1 to 5.3.2
@@ -1,2 +0,2 @@ | ||
import { html, component, useEffect, useRef } from 'haunted'; | ||
import { html, component, useEffect, useRef, useMemo } from 'haunted'; | ||
import { ref } from 'lit-html/directives/ref.js'; | ||
@@ -117,2 +117,7 @@ import { | ||
const layout = useMemo( | ||
() => ({ _itemSize: { height: itemHeight - 0.00001 } }), | ||
[itemHeight] | ||
); | ||
return html` <style> | ||
@@ -127,3 +132,3 @@ ${styles({ ...position, height, itemHeight })} | ||
scroller: true, | ||
layout: { _itemSize: { height: itemHeight - 0.00001 } }, | ||
layout, | ||
})} | ||
@@ -130,0 +135,0 @@ </div>`; |
{ | ||
"name": "@neovici/cosmoz-autocomplete", | ||
"version": "5.3.1", | ||
"version": "5.3.2", | ||
"description": "A autocomplete input web component", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
24989
841