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:
- Created 3 years ago
- Comments:21 (9 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Yes. We have confirmed that deleting window.PointerEvent does work around the issue
@lsh246 Sure, I’ll set a reminder for myself!