@daryasidorovich/modsen-datepicker 1.1.2 → 1.1.4
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/constants/dateMask.d.ts +3 -3
- package/dist/hooks/useValidate.d.ts +3 -3
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6289,8 +6289,8 @@ const useTooltip = () => {
|
|
|
6289
6289
|
const handleDayMouseEnter = (e) => {
|
|
6290
6290
|
const rect = e.currentTarget.getBoundingClientRect();
|
|
6291
6291
|
const coords = {
|
|
6292
|
-
x: rect.right - 5,
|
|
6293
|
-
y: rect.top - 10,
|
|
6292
|
+
x: rect.right - 5 + window.scrollX,
|
|
6293
|
+
y: rect.top - 10 + window.scrollY,
|
|
6294
6294
|
};
|
|
6295
6295
|
if (timeoutRef.current) {
|
|
6296
6296
|
clearTimeout(timeoutRef.current);
|