How do I enable scroll wheel scrolling of a modal in Bootstrap? [closed]

1

How can I make the scroll bar of a PDF file, loaded within a iframe (which is within a modal of Bootstrap ), work when the bar is clicked and when running scroll of the mouse (only works when the bar is clicked).

    
asked by anonymous 24.09.2015 / 19:28

1 answer

-1

If you are using a plugin like Perfect Scrollbar or another, your modal component is not getting the effect of the plugin that overlaps the normal scroll bar.

You then need to apply the effect to the component through JS:

$('#nomeModal').perfectScrollbar();

Hope it helps, I had this same problem.

    
29.09.2017 / 02:51