Bug: Input Component Overlapping on Reinsert
Background Information
The input component for adding questions is exhibiting inappropriate behavior. The issue occurs when it is deleted and reinserted: it is rendered randomly on the screen, overlapping another component. Furthermore, when this test cycle is repeated, the same overlapping behavior occurs unpredictably.
This video about the input component https://jam.dev/c/ba80d68f-49d1-43fa-9e14-9a8b0c2e7749
Steps to Reproduce
- Go to the Claim page.
- Click on any sentence to open the drawer.
- Check for the delete icon in the "Which questions should the verification answer?" field.
- Click the icon to delete this field.
- Confirm that the field has been successfully removed.
- Click the question icon to add the field again.
- Verify that the newly added component is randomly overlapping another component.
How
No response
Expected Behavior
When deleting and reinserting the input component for adding questions, it should be rendered correctly in the interface, maintaining its original position without overlapping other components. The input's position should be predictable and consistent with each insertion, ensuring a stable and organized user experience.