git.iko.soy/typeable/elm-ui
on master help sign in
Intermediate divs for nearby element should pass through click events
0930664Matthew Griffith
src/Internal/Style.elm+15−6
@@ -942,7 +942,7 @@ baseSheet =
942 [ Prop "width" "100%"
942 [ Prop "width" "100%"
943 ]
943 ]
944 , Prop "pointer-events" "none"
944 , Prop "pointer-events" "none"
945− , Child (dot classes.any)
945+ , Child "*"
946 [ Prop "pointer-events" "auto"
946 [ Prop "pointer-events" "auto"
947 ]
947 ]
948 ]
948 ]
@@ -956,7 +956,10 @@ baseSheet =
956 , Prop "width" "100%"
956 , Prop "width" "100%"
957 , Prop "z-index" "10"
957 , Prop "z-index" "10"
958 , Prop "margin" "0 !important"
958 , Prop "margin" "0 !important"
959− , Prop "pointer-events" "auto"
959+ , Prop "pointer-events" "none"
960+ , Child "*"
961+ [ Prop "pointer-events" "auto"
962+ ]
960 , Child (dot classes.heightFill)
963 , Child (dot classes.heightFill)
961 [ Prop "height" "auto"
964 [ Prop "height" "auto"
962 ]
965 ]
@@ -970,7 +973,10 @@ baseSheet =
970 , Prop "height" "100%"
973 , Prop "height" "100%"
971 , Prop "margin" "0 !important"
974 , Prop "margin" "0 !important"
972 , Prop "z-index" "10"
975 , Prop "z-index" "10"
973− , Prop "pointer-events" "auto"
976+ , Prop "pointer-events" "none"
977+ , Child "*"
978+ [ Prop "pointer-events" "auto"
979+ ]
974 ]
980 ]
975
981
976 OnLeft ->
982 OnLeft ->
@@ -981,7 +987,10 @@ baseSheet =
981 , Prop "height" "100%"
987 , Prop "height" "100%"
982 , Prop "margin" "0 !important"
988 , Prop "margin" "0 !important"
983 , Prop "z-index" "10"
989 , Prop "z-index" "10"
984− , Prop "pointer-events" "auto"
990+ , Prop "pointer-events" "none"
991+ , Child "*"
992+ [ Prop "pointer-events" "auto"
993+ ]
985 ]
994 ]
986
995
987 Within ->
996 Within ->
@@ -994,7 +1003,7 @@ baseSheet =
994 , Prop "margin" "0 !important"
1003 , Prop "margin" "0 !important"
995 , Prop "z-index" "10"
1004 , Prop "z-index" "10"
996 , Prop "pointer-events" "none"
1005 , Prop "pointer-events" "none"
997− , Child (dot classes.any)
1006+ , Child "*"
998 [ Prop "pointer-events" "auto"
1007 [ Prop "pointer-events" "auto"
999 ]
1008 ]
1000 ]
1009 ]
@@ -1009,7 +1018,7 @@ baseSheet =
1009 , Prop "margin" "0 !important"
1018 , Prop "margin" "0 !important"
1010 , Prop "z-index" "0"
1019 , Prop "z-index" "0"
1011 , Prop "pointer-events" "none"
1020 , Prop "pointer-events" "none"
1012− , Child (dot classes.any)
1021+ , Child "*"
1013 [ Prop "pointer-events" "auto"
1022 [ Prop "pointer-events" "auto"
1014 ]
1023 ]
1015 ]
1024 ]