New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding a Shape makes a text unselectable #292

Closed
Yorkst opened this Issue Jul 10, 2015 · 2 comments

Comments

Projects
None yet
2 participants
@Yorkst

Yorkst commented Jul 10, 2015

Migrated from elm/compiler#970

When I remove square, it is possible to select "Abacaba" by mouse:

module Main where


import Graphics.Collage exposing (..)
import Graphics.Element exposing (..)
import Color exposing (..)

main = collage 600 200 [
    {--}
    "Abacaba"
        |>show
        |>toForm
    --}
    {--}
    ,square 50
        |> filled blue
        |>move (150, 0)
    --}
    ]

Tested in Chrome&Firefox

@evancz

This comment has been minimized.

Show comment
Hide comment
@evancz

evancz Jul 10, 2015

Member

I think we need to add pointer-events: none to the canvas elements that are created by Graphics.Collage so that the pointer goes through to lower levels. Can someone take a look at this?

Member

evancz commented Jul 10, 2015

I think we need to add pointer-events: none to the canvas elements that are created by Graphics.Collage so that the pointer goes through to lower levels. Can someone take a look at this?

@evancz

This comment has been minimized.

Show comment
Hide comment
@evancz

evancz May 11, 2016

Member

Sorry we did not get a solution to this. The Graphics.* modules now live in evancz/elm-graphics so I think it makes sense to migrate issues like this over there if they are still a problem.

Member

evancz commented May 11, 2016

Sorry we did not get a solution to this. The Graphics.* modules now live in evancz/elm-graphics so I think it makes sense to migrate issues like this over there if they are still a problem.

@evancz evancz closed this May 11, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment