KamoCRM

Resolve session timeout warning popup closure bug in SessionManager

Fixkamo-internal
Порезанный
25 октября 2025 г. в 12:26 UTC
Автор
snadjafinia
Обещать
b3a0fbe

- Fixed React closure bug causing inconsistent warning popup behavior - Added useRef hooks to maintain access to latest state in callbacks - Implemented useCallback for stable handler function references - Enhanced handleExtended to properly close warning when session extended - Fixed stale state issue where callbacks referenced outdated isWarningOpen value - Added better logging for debugging state changes This ensures the session timeout warning will consistently show when needed and properly handle session extensions from other Kamo applications.

Все изменения

Как вы видите судоходство?

Все это приходит в ваше рабочее пространство самостоятельно. Начните с бесплатного плана и прочитайте эту страницу через месяц.

Начните бесплатно навсегдаПосмотреть цены