question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Click events don't work on MacOS in Adobe CEP extension unless debugger is attached

See original GitHub issue

🐛 Bug Report

We are using the react-specturm in an Adobe CEP extension. On Windows, it works as expected. On MacOS, none of the controls are responsive. If we attach a chrome debugger to MacOS, the controls become responsive.

🤔 Expected Behavior

We would expect the controls to be responsive on both Windows and MacOS regardless of whether or not the debugger is attached.

😯 Current Behavior

The controls are not responsive. Button controls never have “onPress” event processed. For Picker controls, the popup for selecting an item never appears.

💁 Possible Solution

🔦 Context

This will make it impossible for us to let MacOS users use our application.

💻 Code Sample

      <Picker
        aria-label="Select Product"
        items={productList}
        onSelectionChange={(product) => setProduct(product as string)}
        selectedKey={product}
        marginBottom="size-50"
      >
        {(productLabel) => <Item key={productLabel.value}>{productLabel.label}</Item>}
      </Picker>
      <Button id="create-blank" variant="secondary" onPress={createBlankUi}>
        Create Blank
      </Button>

🌍 Your Environment

Software Version(s)
react-spectrum 3.1.0
Browser Embedded browser in Adobe Creative Suite 2020 (Illustrator and InDesign)
Operating System MacOS Catana (10.15.6)

🧢 Your Company/Team

🕷 Tracking Issue (optional)

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:21 (9 by maintainers)

github_iconTop GitHub Comments

2reactions
tyang-cimpresscommented, Aug 14, 2020

Yes. We have confirmed that deleting window.PointerEvent does work around the issue

1reaction
LFDanLucommented, Aug 19, 2020

@lsh246 Sure, I’ll set a reminder for myself!

Read more comments on GitHub >

github_iconTop Results From Across the Web

ESD no good for CEP debugging - Adobe Support Community
I just tried a bunch of testing myself and it does, indeed, appear that the ESD in VSCode is only good for "running...
Read more >
ExtendScript Debugger - Visual Studio Marketplace
The aliasPath property enables the ExtendScript Debugger extension to rewrite paths using the symbolic link path, thereby matching the host ...
Read more >
Creating a custom extension for Adobe Photoshop
js even if the user does not have it installed locally on his machine. At the time of writing this article, CEP 9...
Read more >
Adobe-CEP - Bountysource
It works if the panel has focus, which requires the users to click into ... Our extension works well on Windows but fails...
Read more >
Getting Started with the VS Code Debugger
Unlike the ExtendScript Toolkit, the VS Code debugger takes some work to get up and ... If you're looking on how to use...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found