This commit introduces an improvement where the calendar is now displayed only when the isOpen variable is set to true. This change addresses the bug where inconsistencies occurred if a user attempted to alter the date directly via the calendar widget and subsequently tried to modify the date through the corresponding input field. The fix ensures a smoother user experience by maintaining the expected behavior of the calendar's visibility and interaction.
Enhance calendar visibility conditional rendering
This commit introduces an improvement where the calendar is now displayed only when the
isOpen
variable is set totrue
. This change addresses the bug where inconsistencies occurred if a user attempted to alter the date directly via the calendar widget and subsequently tried to modify the date through the corresponding input field. The fix ensures a smoother user experience by maintaining the expected behavior of the calendar's visibility and interaction.