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
313 stars 64 forks source link

If target "_self" is set, the url is loaded even if it's an internal request #107

Open pfiadDi opened 4 years ago

pfiadDi commented 4 years ago

If "target" "_self" is set, by using Html.Attributes.target, the request is, in any case, loaded even if it's an internal request.

Expected behavior: If target _self is set, the LinkClicked Browser.UrlRequestMsg should fire and the link not loaded.

Example https://ellie-app.com/8srZ9JVwsfta1