Skip to content

Button web example on bevyengine.org clickable area is wrong (Regression?) #4963

@paul-hansen

Description

@paul-hansen

Bevy version

Whatever the examples are built with on the webpage: https://bevyengine.org/examples/ui/button/
Is not happening for me locally using Bevy 0.7

System information

Chrome Version 102.0.5005.63 (Official Build) (64-bit) on Windows 11

`AdapterInfo { name: "ANGLE (NVIDIA, NVIDIA GeForce RTX 3080 Direct3D11 vs_5_0 ps_5_0, D3D11)", vendor: 4318, device: 0, device_type: DiscreteGpu, backend: Gl }`

What you did

I opened https://bevyengine.org/examples/ui/button/ and tried clicking the button in the example.

What went wrong

The area that I can click the button is offset from the visual position of the button. It gets more offset (and maybe larger?) if the window is made smaller.

Additional information

Example:

video.mp4

I'm 90% sure this wasn't happening earlier today, so it might be something merged recently.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-UIGraphical user interfaces, styles, layouts, and widgetsC-BugAn unexpected or incorrect behaviorC-ExamplesAn addition or correction to our examplesO-WebSpecific to web (WASM) builds

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions