posthog
posthog copied to clipboard
refactor: Preventing mousewheel from altering port value
Problem
A user pointed out (in ZenDesk ticket 11999) that the value in the port number field, in the batch export config screen, can be changed unintentionally by scrolling with the mouse wheel. This PR is to prevent that by changing the field type from number to tel.
Changes
Changed field type from number to tel on line 371 of
frontend/src/scenes/batch_exports/BatchExportEditForm.tsx
Before:
After:
Does this work well for both Cloud and self-hosted?
Yes
How did you test this code?
Tested on my local (see the 'after' gif above)