design-system icon indicating copy to clipboard operation
design-system copied to clipboard

Multiline TextField scrollbar does not work when used with 'unit' prop

Open AndreasPresthammer opened this issue 5 months ago • 0 comments

The scrollbar in the TextField component does not work when multiline and unit props are enabled.

See repro in codesandbox: https://codesandbox.io/p/sandbox/react-18-playground-forked-fts4gc?file=%2Fsrc%2FApp.tsx%3A23%2C29

Expected behavior

Expect that you can drag the scrollbar to scroll. NB! The scroll buttons up and down still work, and the scroll wheel also work.

Specifications

  • eds-core-react version: 0.36.1
  • styled-components version: 6.1.8
  • react version: 18.2
  • Browser: Chrome Version 123.0.6312.59 (Official Build) (64-bit)
  • OS: Windows 11

AndreasPresthammer avatar Mar 27 '24 07:03 AndreasPresthammer