Skip to content

feat: create web components and handle web events #2312

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 77 commits into
base: main
Choose a base branch
from

Conversation

bohdanprog
Copy link
Member

Summary

We want to convert mobile events to web events from PanResponder and simple events like onPress, onLongPress, etc.

Test Plan

We can easily test that in our test example.

Compatibility

OS Implemented
Web

@bohdanprog bohdanprog closed this Jun 26, 2024
@bohdanprog bohdanprog reopened this Jun 28, 2024
@bohdanprog bohdanprog changed the title @bohdanprog/handle web events feat: handle panResponder and web events Jun 28, 2024
@bohdanprog bohdanprog self-assigned this Jul 17, 2024
@bohdanprog bohdanprog requested a review from jakex7 September 24, 2024 13:13
@bohdanprog bohdanprog requested a review from jakex7 October 9, 2024 10:51
jakex7 added a commit that referenced this pull request Apr 4, 2025
# Summary

Fixes
#2401

Fixes error in `prepare.ts` file that imports `hasTouchableProperty`
from a '.' file.

It's probably related to the way ESM works, I'm not sure. I base it on
[PR](#2312)

```
(0 , _.hasTouchableProperty) is not a function 
TypeError: (0 , _.hasTouchableProperty) is not a function 
at prepare
```

<img width="860" alt="image"
src="https://github.com/user-attachments/assets/43f91d13-115c-4daf-9269-92ae49b44972">

## Test Plan

Should work without error on web


https://github.com/user-attachments/assets/4f7143bf-06f8-4684-844c-d5a147837adb

## Compatibility

| OS      | Implemented |
| ------- | :---------: |
| Web     |    ✅     |

## Checklist

- [X] I have tested this on a web project

---------

Co-authored-by: Jakub Grzywacz <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants