Skip to content

shadow prevents clicks #9865

Closed
Closed

Description

@paulrouget

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

<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);
  }
</style>
<div class="green" onclick="console.log(42)"></div>
<div class="red"></div>

Activity

  1. paulrouget commented on Mar 3, 2016

    @paulrouget
    ContributorAuthor

    This has been fixed before: #9428

  2. added a commit that references this issue on Mar 4, 2016
    f7aa6a3
  3. added a commit that references this issue on Mar 4, 2016
    12466b8
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