BinaryStudioAcademy / bsa-winter-2023-2024-trackmates

3 stars 2 forks source link

fix: The "Add course" pop-up window is closed after pressing the mouse on the window and releasing it outside the window #321

Closed maksym-hladii closed 9 months ago

maksym-hladii commented 9 months ago

Describe your issue

The "Add course" pop-up window is closed after pressing the mouse on the window and releasing it outside the window. This is problematic because there may be an input in the "Search" field, which will be lost when the window is closed.

Steps to reproduce

  1. Open the "TrackMates" web application as an authorized user.
  2. Click the "Add course" button on the "Welcome" block on the "Overview" page.
  3. Fill the "Search" field on the "Add course" pop-up window with any text.
  4. Press the mouse anywhere on the pop-up window and release it outside the window.
  5. Pay attention to the "Add course" pop-up window.

What was the actual result?

The "Add course" pop-up window is closed. The entered text is not displayed in the "Search" field after reopening the "Add course" pop-up window.

What was the expected result?

The "Add course" pop-up window is still open. The entered text is still displayed in the "Search" field.

Put here any screenshots or videos (optional)

No response

What OS are you seeing the problem on?

Windows

What browsers are you seeing the problem on?

Chrome

Severity

Minor (S4)

what1s1ove commented 9 months ago

Expected behaviour for now