Visitar URL original
Comparing main...fix/react-element-input · playcanvas/react · GitHub
Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: playcanvas/react
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: playcanvas/react
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: fix/react-element-input
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 1 commit
  • 4 files changed
  • 2 contributors

Commits on Sep 24, 2026

  1. fix: Create an ElementInput in Application

    <Application> created the mouse and touch devices but no ElementInput, the
    object that turns input into events on element components. Without it,
    elements with useInput received no events, buttons never reacted, and
    scroll views and scrollbars could not be dragged. The debug engine only
    warns about it.
    
    Create one when the application is created, before the mouse and touch
    devices, so its listeners run first and stopPropagation() in a UI event
    handler also keeps the event from app.mouse and app.touch.
    
    The test setup's mock Application now passes the element input through,
    so the new test can check it.
    
    Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
    willeastcott and claude committed Sep 24, 2026
    Configuration menu
    Copy the full SHA
    503f52e View commit details
    Browse the repository at this point in the history
Loading