@bigbinary/neetoui 6.3.3 → 6.3.5
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/formik.cjs.js +5 -0
- package/formik.cjs.js.map +1 -1
- package/formik.js +5 -0
- package/formik.js.map +1 -1
- package/index.cjs.js +5 -0
- package/index.cjs.js.map +1 -1
- package/index.css +1 -1
- package/index.js +5 -0
- package/index.js.map +1 -1
- package/package.json +1 -1
package/formik.js
CHANGED
|
@@ -26985,7 +26985,12 @@ var CustomInput = function CustomInput(props) {
|
|
|
26985
26985
|
}));
|
|
26986
26986
|
};
|
|
26987
26987
|
var CustomOption = function CustomOption(props) {
|
|
26988
|
+
var ref = useRef();
|
|
26989
|
+
useEffect(function () {
|
|
26990
|
+
props.isSelected && ref.current.scrollIntoView();
|
|
26991
|
+
}, [props.isSelected]);
|
|
26988
26992
|
return /*#__PURE__*/React__default.createElement(components.Option, _extends$2({}, props, {
|
|
26993
|
+
innerRef: ref,
|
|
26989
26994
|
innerProps: _objectSpread$3(_objectSpread$3({}, props.innerProps), {}, {
|
|
26990
26995
|
"data-cy": "".concat(hyphenize(props.label), "-select-option")
|
|
26991
26996
|
})
|