mjesteve commented on issue #1193:
URL: https://github.com/apache/royale-asjs/issues/1193#issuecomment-1109067334

   ```
   no scroll context like j:SectionContent or like in the exemple of TDJ (in 
this case the container height grow with number of children).
   Here is a screenshoot of TDJ : (hostComponent.containsClass("scroll") would 
be false)
   ```
   You are right. 
   I also tested with TDJ and with the blog example 
"[BE0015_Using_Jewel_TileHorizontalLayout](https://github.com/apache/royale-asjs/tree/develop/examples/blog/BE0015_Using_Jewel_TileHorizontalLayout)".
   
   `Getting scrollbar width is not obvious. I read some posts like 
https://stackoverflow.com/questions/13382516/getting-scroll-bar-width-using-javascript
 but this seem very tricky and a sort of hack method. `
   
   I did tests, with this script (previous message) and the truth is that in 
Windows: with Chrome, FireFox, Edge and IE the calculated value of the scroll, 
when displayed, was correct and I also tested with 
`hostComponent.element.scrollWidth` and it showed me the same correct results.
   
   Today I have access to a Mac I will do the tests and get back with the 
results.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to