Skip to content
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

Switch to using clone element #28

Merged
merged 14 commits into from
Feb 6, 2021
Merged

Switch to using clone element #28

merged 14 commits into from
Feb 6, 2021

Conversation

ooade
Copy link
Owner

@ooade ooade commented Jan 26, 2021

Clone elements and attach the click away listener to the children as opposed to creating a new component.

src/index.tsx Outdated Show resolved Hide resolved
src/index.tsx Show resolved Hide resolved
src/index.tsx Outdated Show resolved Hide resolved
@jblevins1991
Copy link

I will pull this branch later and test it. The code looks good so far.

src/index.tsx Outdated Show resolved Hide resolved
src/index.tsx Outdated Show resolved Hide resolved
@ooade
Copy link
Owner Author

ooade commented Jan 28, 2021

@jblevins1991 I've fixed most of your concerns. You can test and give feedback. I've published a beta package so you don't have to pull the repository to test.

Thanks!

@jblevins1991
Copy link

jblevins1991 commented Jan 29, 2021

@jblevins1991 I've fixed most of your concerns. You can test and give feedback. I've published a beta package so you don't have to pull the repository to test.

Thanks!

I copied the code file into my project and tested it. Everything seemed to work well. I am going to approve the pull request.

@ooade ooade changed the base branch from main to beta February 6, 2021 21:43
@ooade ooade merged commit a6bc770 into beta Feb 6, 2021
@ooade ooade deleted the feature/use-clone-element branch February 6, 2021 21:44
ooade added a commit that referenced this pull request Feb 6, 2021
* Switch to using clone element (#28)

* Switch to using clone element

* Exclude children from interface

* Add multiref

* Bump rollup and add rollup-ts

* Use ref from child component for click away

* Remove usued package

* alpha 6

* Restor peer dependencies

* Add proper types and increase coverage

* Ensure the ref is clickable

* Update workflow name

* Remove release file

* fix: publish

* perf: New release 🚀
ooade added a commit that referenced this pull request Feb 6, 2021
* Switch to using clone element (#28)

* Switch to using clone element

* Exclude children from interface

* Add multiref

* Bump rollup and add rollup-ts

* Use ref from child component for click away

* Remove usued package

* alpha 6

* Restor peer dependencies

* Add proper types and increase coverage

* Ensure the ref is clickable

* Update workflow name

* Remove release file

* fix: publish

* perf: New release 🚀
ooade added a commit that referenced this pull request Feb 6, 2021
* Switch to using clone element (#28)

* Switch to using clone element

* Exclude children from interface

* Add multiref

* Bump rollup and add rollup-ts

* Use ref from child component for click away

* Remove usued package

* alpha 6

* Restor peer dependencies

* Add proper types and increase coverage

* Ensure the ref is clickable

* Update workflow name

* Remove release file

* fix: publish

* perf: New release 🚀
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.

None yet

2 participants