Google Drive - broken unscrollable file view (flex, height 100%)
Posted: 2022-05-03, 22:37
Hi, do any of the developers have access to Google Drive? Not very long ago, the file view broke. Some relevant CSS code of the problematic element:
What's interesting, if you set fixed height in pixels, it behaves properly, can scroll and view all files in the view, but at 100%, you can't see everything and scroll bar disables itself even though it should be enabled. At 99% for instance, you can only scroll as far as you could at 100%.
Some console output:
Code: Select all
.PEfnhb {
box-sizing: border-box;
display: -webkit-box;
display: -moz-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
flex-flow: column nowrap;
height: 100%;
outline: none;
overflow-y: scroll;
position: relative;
width: 100%;
}
Some console output:
Code: Select all
Content Security Policy: Couldn’t parse invalid host 'report-sample'
(unknown)
Content Security Policy: Ignoring “'unsafe-inline'” within script-src: ‘strict-dynamic’ specified
(unknown)
Content Security Policy: Ignoring “https:” within script-src: ‘strict-dynamic’ specified
(unknown)
Content Security Policy: Ignoring “http:” within script-src: ‘strict-dynamic’ specified
(unknown)
Unexpected value parsing height attribute.
drive
Unexpected value parsing width attribute.
drive
Unexpected value parsing height attribute.
drive
Unexpected value parsing width attribute.
drive
Unexpected value parsing height attribute.
drive
Unexpected value parsing width attribute.
drive
Content Security Policy: Couldn’t process unknown directive ‘require-trusted-types-for’
(unknown)
The character encoding of a framed document was not declared. The document may appear different if viewed without the document framing it.
bscframe
Content Security Policy: Ignoring ‘x-frame-options’ because of ‘frame-ancestors’ directive.
(unknown)
Content Security Policy: Ignoring “'unsafe-inline'” within script-src or style-src: nonce-source or hash-source specified
(unknown)
Chat support: /drive sl undefined undefined
chat_load.js:133:141
Chat support operator creation succeeded
chat_load.js:140:403
Chat support created successfully
chat_load.js:141:11
Empty string passed to getElementById().
m=b:1800:143