I've integrated the react-datepicker library in portal mode. While it functions well on browsers, I encounter an error when using mobile browser mode.
An issue arises stating: "Unable to preventDefault inside passive event listener invocation"
Despite trying to resolve it by adding touch-action: none;
to my calendar CSS, the problem persists.
Currently, the event of the calendar is not prevented on mobile devices. To observe this, you can test it on their demo site - Portal Version. Please ensure to view the site in mobile browser mode.
Any suggestions on how to fix this error?