[BUG]: Input fields and dropdowns misaligned and oversized in mobile view
Description:
When I click on the "Add Task" button, the form with input fields for "Description," "Priority," "Project," and "Due Date" opens. On normal screen sizes, everything appears perfectly aligned. However, when viewing the form on mobile devices:
-
Autocomplete issue with "Description" field:
- When I click on the "Description" input field, the autocomplete box appears misplaced, not attached to the input field. It shows up in a location far from the input field.
-
Similar issue with other input fields:
- The same issue occurs for the "Priority," "Project," and "Due Date" input fields. The autocomplete boxes are misplaced and do not align with the corresponding input fields.
-
Dropdown size issue with "Priority" field:
- The dropdown size for the "Priority" field is oversized in mobile view. It is bigger than the screen size and does not scale according to the mobile screen dimensions.
Steps to Reproduce:
- Navigate to the page containing the task form by clicking Tasks button on Navbar.
- Click the "Add Task" button.
- On a mobile device or using mobile view in the browser, click on the "Description" input field.
- Observe that the autocomplete box is misaligned.
- Repeat the same for the "Priority," "Project," and "Due Date" fields.
- Notice the oversized dropdown for "Priority."
Expected Behavior:
- The autocomplete boxes should be properly aligned with the corresponding input fields.
- The dropdowns for "Priority" and other fields should be appropriately sized to fit within the mobile screen dimensions.
Screenshots/Recordings:
https://github.com/user-attachments/assets/7893dc46-f870-4c2f-8637-abf077cc4133
-The video recording has voice please unmute for better understanding
I believe that the alignment of that autofill depends upon the browser, it works fine for me on brave rn. You may work on the dropdown though.
I have tried doing so but my changes are not visible on UI, I have tried allot don't know where I'm lacking, help me
Like I said above for the autocorrect seems to be the same for select element. Closing the issue.