formDin
formDin copied to clipboard
AutoSize Doesn't Work with Google Chrome
$frm->setAutoSize(true);
Doesn't Work with Google Chrome 65.0.3325.181 (Versão oficial) 64 bits
Provavelmente está relacionado com #12
TForm->setAutoSize TForm->getAutoSize TForm->setOverflowY( 'auto' ) TForm->getOverFlowY()
getMaxWidth
TForm->show() : linha 504 $this->body->setCss( "overflow-y", $this->getOverFlowY() );
FormDin4.js > fwFormDinAutoSize
É um problema bem conhecido essa questão do "chrome overflow-y"
- https://stackoverflow.com/questions/25807672/overflow-yscroll-is-not-working-for-chrome
- https://stackoverflow.com/questions/35201566/overflow-y-scroll-not-showing-scrollbar-in-chrome
- https://stackoverflow.com/questions/25437014/bug-with-overflow-yscroll-and-positionabsolute-in-chrome
- https://github.com/twbs/bootstrap/issues/22339
- https://www.sitepoint.com/community/t/vert-scroll-bar-for-overflow-auto-not-working-in-chrome/7615/2
- https://stackoverflow.com/questions/5209545/css-overflow-yvisible-overflow-xscroll
Para entender melhor
- https://developer.mozilla.org/pt-BR/docs/Web/CSS/overflow
- https://css-tricks.com/almanac/properties/o/overflow/