@@ -255,6 +255,7 @@ classes =
255 , inputMultiline = "iml"
255 , inputMultiline = "iml"
256 , inputMultilineParent = "imlp"
256 , inputMultilineParent = "imlp"
257 , inputMultilineFiller = "imlf"
257 , inputMultilineFiller = "imlf"
258+ , inputMultilineWrapper = "implw"
260 , link = "lnk"
261 , link = "lnk"
@@ -1562,9 +1563,24 @@ baseSheet =
1562 , Prop "width" "100%"
1563 , Prop "width" "100%"
1563 , Prop "background-color" "transparent"
1564 , Prop "background-color" "transparent"
1566+ , Descriptor (dot classes.inputMultilineWrapper)
1568+ -- This allows multiline input to anchor scrolling to the bottom of the node
1569+ -- when in a scrolling viewport, and the user is adding content.
1571+ -- How crazy is this solution?
1572+ -- [ Prop "display" "flex"
1573+ -- , Prop "flex-direction" "column-reverse"
1575+ [ Descriptor "::after"
1576+ [ Prop "content" "''"
1577+ , Prop "overflow-anchor" "auto"
1565 , Descriptor (dot classes.inputMultilineParent)
1580 , Descriptor (dot classes.inputMultilineParent)
1566 [ Prop "white-space" "pre-wrap"
1581 [ Prop "white-space" "pre-wrap"
1567 , Prop "cursor" "text"
1582 , Prop "cursor" "text"
1583+ , Prop "overflow-anchor" "none"
1568 , Child (dot classes.inputMultilineFiller)
1584 , Child (dot classes.inputMultilineFiller)
1569 [ Prop "white-space" "pre-wrap"
1585 [ Prop "white-space" "pre-wrap"
1570 , Prop "color" "transparent"
1586 , Prop "color" "transparent"