react-asc 18.8.2 → 18.8.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/index.es.js CHANGED
@@ -289,6 +289,8 @@ const AutoComplete = (props) => {
289
289
  useEffect(() => {
290
290
  return () => {
291
291
  document.body.classList.remove('modal-open');
292
+ const main = document.querySelector('.main');
293
+ main === null || main === void 0 ? void 0 : main.classList.remove('modal-open');
292
294
  };
293
295
  }, []);
294
296
  const getCssClass = () => {