elm / browser

Create Elm programs that run in browsers!
https://package.elm-lang.org/packages/elm/browser/latest/
BSD 3-Clause "New" or "Revised" License
312 stars 64 forks source link

Mouse wheel scrolling unresponsive when debugger is open and you've navigated back in time #96

Open rl-king opened 4 years ago

rl-king commented 4 years ago

Quick Summary: The browser window does not respond to mouse wheel scrolling if the debugger is open and you've scrolled back to a past message. You can however use the scrollbar on the right to scroll the page.

SSCCE

module Main exposing (main)

import Browser
import Html exposing (..)
import Html.Attributes exposing (..)
import Html.Events exposing (..)

main =
    Browser.sandbox
        { init = 0
        , update = \_ i -> i + 1
        , view =
            \_ ->
                div [ style "height" "200vh" ]
                    [ button [ onClick identity ] [ text "click" ] ]
        }

Additional Details

Does work in Chrome