Skip to content

shadow of a transformed element prevents clicks #9268

Closed

Description

@paulrouget

Affects: browserhtml (can't click on hamburger icon).

Both with and without webrender.

Clicking on the green div under the shadow doesn't print 42.

screen shot 2016-01-12 at 09 05 30

<style>
  .green {
    background: green;
    position: absolute;
    top: 45px;
    left: 170px;
    width: 100px;
    height: 50px;
  }
  .red {
    background: red;
    position: absolute;
    top: 20px;
    left: 20px;
    width: 100px;
    height: 100px;
    box-shadow: 100px 0 0 rgba(0,0,0,0.1);
    transform: translateX(1px);
  }
</style>
<div class="green" onclick="console.log(42)"></div>
<div class="red"></div>

Activity

  1. jdm commented on Jan 12, 2016

    @jdm
    Member
  2. added a commit that references this issue on Jan 26, 2016
    32a68a4
  3. added a commit that references this issue on Jan 26, 2016
    71d49fc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions