Даже если взять ваш пример кода из описания компонента при открытии тултипа реакт ругается на две ошибки:
findDOMNode is deprecated and will be removed in the next major release. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node
findDOMNode is deprecated in StrictMode. findDOMNode was passed an instance of Transition2 which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node
Как воспроизвести баг (опционально)
Изменить состояние тултипа isOpen с false на true
Добрый день!
Компонент: https://consta.design/libs/uikit/components-tooltip-stable/dev Использую в "react": "^18.2.0"
Даже если взять ваш пример кода из описания компонента при открытии тултипа реакт ругается на две ошибки: findDOMNode is deprecated and will be removed in the next major release. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node
findDOMNode is deprecated in StrictMode. findDOMNode was passed an instance of Transition2 which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node
Как воспроизвести баг (опционально)
Изменить состояние тултипа isOpen с false на true