fix: ensure the give shortcode should display proper title with scroll bar #3876
As an admin, I want to show proper title without cutting it if there is a scroll area so that admin will know that for which short-code they are adding the parameters.
Currently, I am not able to see the proper title while adding a Give shortcode in pages.
I expect to see the proper title while adding a Give short-code into pages.
Steps to Reproduce
If there is a scroll then the scroll area should remain at the top.
WordPress System Info### WordPress Environment ###
Home URL: http://give.test
Hosting Provider: DBH: localhost, SRV: give.test
Give Version: 2.4.0
Active Give Add-ons
Give - CCAvenue Gateway:
Other Active Plugins
Page Builder by SiteOrigin: by SiteOrigin – 2.9.1
Contact Form 7: by Takayuki Miyoshi – 5.0.4
Active MU Plugins
Local by Flywheel Relative URL (for Live Links): by Flywheel – 1.0
Name: Twenty Seventeen
I've noticed this only happens when there is not enough vertical height for the controls to fit on screen. If you select a shortcode with fewer options, it does not occur. I investigated this for some time in a past release and was not able to prevent it.
As an improvement I think we can at least allow the modal to use the entire screen height so the controls will be more likely to fit on screen without scrolling. Assigning this one to me.