Dialog fitViewport doesn't work in pf 10.0.0
See original GitHub issueDescribe the defect
dialog.js function fitViewport, please change the row this.content.css('max-height', String(maxHeight));
to this.content.css('max-height', maxHeight);
. String constant for max-height without units doesn’t work in jquery 3.5.1 which is used in PF 10.0.0. In jquery 3.6.0 it works fine.
Environment:
- PF Version: 10.0.0
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Viewport is not visible and cannot be selected or adjusted in ...
On the Quick Select dialog box, set the Object type to Viewport and click OK. If other viewports are in the layout tab,...
Read more >Configuring the Viewport - Apple Developer
Configuring the Viewport. Safari on iOS displays webpages at a scale that works for most web content originally designed for the desktop.
Read more >Polymer paper-dialog - set size to full viewport in shady dom ...
I am trouble making paper-dialog take the full viewport. As shown in the image, I can't seem to force it. I have tried...
Read more >Getting Started with EnSight 10.2
EN-GS:10.0-0. January 2012 ... Open the Reset Tools and Viewports dialog that permits ... Fits the currently visible model in the currently selected....
Read more >PDFlib-10.0.0-tutorial.pdf
3.3.2 Password-Protecting PDF Documents with PDFlib 73. 3.4 XMP Metadata 76 ... NET Framework project with Visual Studio (this method doesn't work.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@vonnai can you try this and verify it works… Just add this script to your application.
Not sure why you’re scripting at all here. Could just style smth like
max-height: calc(100vh - 50px);
. This should work even in IE9. I’d remove the fitViewport option and just have it like this by default. Then if someone really needs an overflowing dialog they could just override max-height by styling.