-
Hello, When I open the calendar using the icon and I select a date, the scoll of the page go on top. If i checked the document.activeElement is the main role element. If I clicked on the combobox element of the DatePicker, I don't have this problem. Has anyone had an idea of this problem ? Thanks in advanced for your help. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
@fsachet - did you manage to resolve this? I have the same problem with DatePicker in SPFx solution. |
Beta Was this translation helpful? Give feedback.
-
Through testing, I have discovered that the error only occurs when the user clicks on the calendar icon. |
Beta Was this translation helpful? Give feedback.
Through testing, I have discovered that the error only occurs when the user clicks on the calendar icon.
Therefore, I have found an alternative solution that has worked for me. This solution involves adding a 'pointer-events: none' CSS property to the date picker icon. This way, I have managed to solve the problem.