Skip to content
Snippets Groups Projects
  • jojohoch's avatar
    d4bb9e18
    Fix chromium bug when calculating dynamic rows for text areas · d4bb9e18
    jojohoch authored
    #691
    
    - Due to the width of the scrollbar, text areas change their inner width
    under Chromium when the scrollbar is displayed. The use of offsetWidth
    instead of contentRect ignores the presence of the scrollbar. The
    calculation is therefore less accurate, but sufficient for estimating
    the number of rows
    d4bb9e18
    History
    Fix chromium bug when calculating dynamic rows for text areas
    jojohoch authored
    #691
    
    - Due to the width of the scrollbar, text areas change their inner width
    under Chromium when the scrollbar is displayed. The use of offsetWidth
    instead of contentRect ignores the presence of the scrollbar. The
    calculation is therefore less accurate, but sufficient for estimating
    the number of rows
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
dynamic-rows.directive.ts 1.42 KiB