likemike Posted April 26, 2021 Share Posted April 26, 2021 Hello! I use a TUnimPDFFrame in my app. This works fine on: Samsung Tablet A6 PC (all browsers) Microsoft Surface Pro but not on a Samsung Galaxy Tab S5e. Here a white area appears in front of the PDF file (Android version 10): I've tried different PDF-files, but they all show the same white area. It's possible to use the tool buttons and when you push the sixth button from the right (fullscreen) the white area disappears and reapperas, when the back-button is pressed. Any ideas? Regards Mike Link to comment Share on other sites More sharing options...
Sherzod Posted April 26, 2021 Share Posted April 26, 2021 2 hours ago, likemike said: but not on a Samsung Galaxy Tab S5e. Here a white area appears in front of the PDF file (Android version 10): Hello, How can we reprodice this issue? Can you make a simple testcase to reproduce? Link to comment Share on other sites More sharing options...
likemike Posted April 26, 2021 Author Share Posted April 26, 2021 Hello! I found the reason for it! The tablet, which works has Chrome version 89.0.4389.105 The tablet not working has the newest version 90.0.4430.82. I've updated the working tablet to 90.0.4430.82 too and now I've the same problems on the tablet, which worked before. Another problem is: UnimCarousel doesn't work in a correct way any more. It show the first UnimCarouselPage, but when I swipe to the second page, the first one is shown again (but you can see 2 dots at the botton, which indicate, that there have to be 2 pages). Now I try to downgrade Chrome, but these issues with the newest chrome version have to be fixed as soon as possible. Best regards Mike Link to comment Share on other sites More sharing options...
Sherzod Posted April 26, 2021 Share Posted April 26, 2021 Just now, likemike said: Now I try to downgrade Chrome, but these issues with the newest chrome version have to be fixed as soon as possible. Make a simple testcase to reproduce this issue. We will try to analyze it. Link to comment Share on other sites More sharing options...
likemike Posted April 26, 2021 Author Share Posted April 26, 2021 I can't. With simple tests I cannot reproduce the errors. 😞 Link to comment Share on other sites More sharing options...
likemike Posted April 26, 2021 Author Share Posted April 26, 2021 But I'm sure it's a browser issue. I've installed Firefox and UnimPDFFrame and UnimCarousel are working. Link to comment Share on other sites More sharing options...
likemike Posted April 28, 2021 Author Share Posted April 28, 2021 Hello! I'm a bit desperate. Try to find the error since 3 days - without success. I have the problem with TUnimPDFFrame and TUnimURLFrame. In both cases the available space is only used by nearly 20%. For a better understanding I've set the color of a TUnimURLFrame to clRed, Align=alClient, URL=unigui.com. When I open the form it shows that: It looks like the TUnimURLFrame occupies the whole space, but the content only use the upper part. As you can see in the top right corner there is a scrollbar. The whole unigui homepage can be scrolled with that scrollbar, but the red area isn't used anyway. Unfortunately I can't reproduce this in a simple testcase - this happens only in my bigger project. I've tried a lot of different devices and browsers and the result differs every time (older browser versions seem to work better). There's nothing unusual in the server-monitor. Any help or tipp how to get rid of that would be very appreciated. Regards Mike Link to comment Share on other sites More sharing options...
Sherzod Posted April 28, 2021 Share Posted April 28, 2021 Hello, You should anayze the Custom CSS you are using. Link to comment Share on other sites More sharing options...
likemike Posted April 28, 2021 Author Share Posted April 28, 2021 I've deleted all css issues but nothing changes. Link to comment Share on other sites More sharing options...
Sherzod Posted April 28, 2021 Share Posted April 28, 2021 On 4/26/2021 at 9:15 PM, likemike said: With simple tests I cannot reproduce the errors. Well, then I think the problem is in using additional extensions, js codes, css. Link to comment Share on other sites More sharing options...
likemike Posted May 2, 2021 Author Share Posted May 2, 2021 Hello! @Sherzod: I cannot find the error, so I want to ask, if there's a beforeinit or aftercreate JS, which force UnimURLFrame to use the whole space? I've tried to find a solution by myself, but JS isn't my "core competence". BTW: sometimes it works, which make the search much more difficult. Thanks in advance Mike Link to comment Share on other sites More sharing options...
Sherzod Posted May 2, 2021 Share Posted May 2, 2021 Hello, Maybe I'm wrong, but maybe this is actually Chrome's issue? Link to comment Share on other sites More sharing options...
likemike Posted May 3, 2021 Author Share Posted May 3, 2021 You're right. Firefox and Edge don't have this problem. Link to comment Share on other sites More sharing options...
likemike Posted May 3, 2021 Author Share Posted May 3, 2021 I did some more tests and in Edge it's the same issue, but not as often as in Chrome. Link to comment Share on other sites More sharing options...
likemike Posted May 13, 2021 Author Share Posted May 13, 2021 Hello! I have a solution, which works for me. Simply put this CSS into ServerModule-CSS: .x-innerhtml { height: 100% !important; } Regards Mike 1 Link to comment Share on other sites More sharing options...
GoldLine Posted October 8, 2021 Share Posted October 8, 2021 Hello likemike, I had the same problem on some android/chrome devices and was able to fix it with your CSS. Many thanks! Link to comment Share on other sites More sharing options...
sergio_sv Posted July 28, 2022 Share Posted July 28, 2022 Hello likemike!! I had the same problem after the contextual keyboard apper when you edit in field, but with your CSS the problem is fixed!!!! Thanks a lot. Link to comment Share on other sites More sharing options...
jahlxx Posted September 30, 2022 Share Posted September 30, 2022 Hi. I have the same problem, but that solution dont'n work for me. I have been making some tests, but don´t work. Any idea? Thanks. Link to comment Share on other sites More sharing options...
jahlxx Posted September 30, 2022 Share Posted September 30, 2022 Sorry. Works but don't with my custom css. Is there any workaround? Thanks. Link to comment Share on other sites More sharing options...
Recommended Posts