ember-hammertime icon indicating copy to clipboard operation
ember-hammertime copied to clipboard

fixes addon on apps with engines

Open conradlz opened this issue 5 years ago • 10 comments

Fixed build failing in applications with ember-engines.

conradlz avatar Apr 22 '19 09:04 conradlz

update the yarn.lock file, thanks!

also, this is the same pr as https://github.com/html-next/ember-gestures/pull/124

I can merge but not release, so i'll defer to @rwwagner90

eriktrom avatar Jun 18 '19 18:06 eriktrom

@eriktrom I feel like we should deprecate this package. I don't think it is necessary for modern web development anymore to add fast click hacks. I suppose for those still supporting IE maybe.

RobbieTheWagner avatar Jun 18 '19 18:06 RobbieTheWagner

I feel like we should deprecate this package. I don't think it is necessary for modern web development anymore to add fast click hacks

I'm not opposed tbh - it was only for fast click on safari touch to begin with right? (thus don't think IE is an issue?)

eriktrom avatar Jun 18 '19 18:06 eriktrom

@eriktrom I'm really not sure. I know all modern browsers and mobile browsers are supposedly the same, so I was just throwing out the possibility maybe someone supporting old browsers would need this.

If it only fixed mobile Safari specifically, I say we deprecate. Thoughts @runspired?

RobbieTheWagner avatar Jun 18 '19 18:06 RobbieTheWagner

It was abstracted from ember-gestures a while ago - it was only for the 300ms delay on ios (are you hovering... 300ms... no, okay you actually want to 'click' that input, is basically what it did).

However, I'm not sure if it's still relevant for the older web views on ios. Finally, ember-gestures has a dep on it, which is in our hands, I can handle that, if we decide to deprecated this.

and agree, @runspired -- in which version of ios did this become irrelevant - there is a webkit blogpost from a couple years back that claimed 300ms delay would be removed, but webkit tickets (of which i don't have links to on hand atm) did indicate at that time, that it wasn't fully removed, I'd need to find such tickets and their status to confirm, but ideally, you just know everything™️ so we'll decide based on your feedback. If I can help track things down, let me know. Cheers.

eriktrom avatar Jun 18 '19 19:06 eriktrom

I know I haven't noticed any issues on mobile anymore, so whether it was officially fixed or not, I think it is no longer an issue.

RobbieTheWagner avatar Jun 19 '19 14:06 RobbieTheWagner

@PrinceCornNM - make a perf profile .json file in safari when it's hooked up to the ios device in question. Click around, try to get the timeline to show the 300ms delay and I'll re-open.

Thanks

eriktrom avatar Sep 04 '19 19:09 eriktrom

I think this was just to fix the build, which we could maybe merge, but we need to decide if we should deprecate this whole package.

RobbieTheWagner avatar Sep 04 '19 20:09 RobbieTheWagner

@rwwagner90 - agree

eriktrom avatar Sep 05 '19 19:09 eriktrom

@eriktrom and @rwwagner90

It fixed build, and it enabled me to use this in our library for our app.

conradlz avatar Sep 05 '19 22:09 conradlz