BlazorStrap icon indicating copy to clipboard operation
BlazorStrap copied to clipboard

Modal with long text - clicking scrollbar hides modal

Open timbze opened this issue 4 years ago • 0 comments

When modal has a lot of text, and it's set simple like this: <BSModal Size="Size.Large">

The window shows a scrollbar on the right side of the window, but as soon as I click it the modal disappears.

The bootstrap modal works properly: https://getbootstrap.com/docs/4.3/components/modal/#scrolling-long-content

  • Clicking the scrollbar and scrolling does not hide modal, clicking the backdrop hides modal.

Blazorstrap hides modal from click on backdrop and clicking on scrollbar.

As a work-around, I am now using the modal with the option IsScrollable="true". That way the scrollbar is on the modal and it works.

timbze avatar Apr 13 '21 15:04 timbze