ai-cfia / fertiscan-frontend

This repository is for the frontend of the project react
MIT License
1 stars 0 forks source link

As a user, I want a single scrollbar to appear in the 'Show More' modal interface. #110

Closed Endlessflow closed 17 hours ago

Endlessflow commented 6 days ago

Bug Report

Description

Bug Summary: Users encounter dual scrollbars when opening a modal using 'showMore' and clicking 'Modify', which leads to confusion and hampers usability.

Dual Scrollbars Issue

Steps to Reproduce:

  1. Navigate to FormPage by performing an analysis.
  2. Click on 'showMore' button to open the modal.
  3. In the modal, click on 'Modify'.
  4. Observe that two scrollbars appear if there is overflow content in both the modal and textarea.

Expected Behavior: Only one scrollbar should be visible at any time within the modal context - when interacting with textarea content, only its scrollbar should be visible; otherwise, only the modal’s primary scrollbar should appear if there's overflow content.

Actual Behavior: Two scrollbars are displayed simultaneously – one for the entire modal and another for an active textarea within it when overflow content exists in both areas.

Environment