Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

The Mouse Event do not work well when the element's position display in absolute

Discussion in 'UI Toolkit' started by whiteclouds2016, Nov 30, 2020.

  1. whiteclouds2016

    whiteclouds2016

    Joined:
    Sep 22, 2017
    Posts:
    18
    The Mouse Event do not work well when my css style like that:
    .test {
    position: absolute;
    }

    And I remove it, the event what like click or mouse enter is work well
    Is it what I miss something?
     
  2. whiteclouds2016

    whiteclouds2016

    Joined:
    Sep 22, 2017
    Posts:
    18
    FYI:
    unity - 2020.2.0a19
    UI Builder - 1.0.0-preview.9
    UI Toolkit - 1.0.0-preview.9