@@ -0,0 +1,44 @@
1+module StackedScrollingColumnsHeight exposing (..)
6+# Column height can be set incorrectly for two stacked columns with scrollbarY
8+<https://github.com/mdgriffith/elm-ui/issues/197>
10+Both red and green columns should always have equal height.
12+Currently, the height is set incorrectly if only one column has enough content to scroll.
14+Both columns are correctly set to the same height only if neither has enough content
15+to scroll or if both have enough content to scroll.
19+import Html exposing (Html)
20+import Testable.Element exposing (..)
21+import Testable.Element.Background as Background
26+ layout [ height fill ] <|
27+ column [ height fill ]
31+ , Background.color (rgb 0 255 0)
34+ List.map (\_ -> text "Hello") <|
39+ , Background.color (rgb 255 0 0)
42+ List.map (\_ -> text "Hello") <|