xles / hyphenator

Automatically exported from code.google.com/p/hyphenator
GNU General Public License v3.0
0 stars 0 forks source link

Links need to be clicked twice on iphone/safari #200

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Go on a hyphenator powered page with an iphone (no matter what version)
2. Tap on a link (nothing happens)
3. Tap on a link for a second time (link actually opens)

I've found out, that a click listener from hyphenator seems to be causing this 
issue by using an event.preventDefault. Removing the listener seems to break 
hyphenator for our environment.

Unfortunately, I don't have an example, because we had to remove hyphenator 
from our client's webpage the minute we realized this issue.

Original issue reported on code.google.com by blogw...@gmail.com on 23 Jun 2014 at 7:52

GoogleCodeExporter commented 9 years ago
Hi

That's strange: there's no preventDefault in Hyphenator.js (at least not in 
recent versions).
The only listeners that are installed are oncopy (to workaround a bug where 
browsers copy the soft hyphens) and onclick (in the togglebox, if enabled). 
Neither calls event.preventDefault

Nevertheless I'd like to fix this issue. So if you find some time to reproduce 
the bug (I wasn't able to) I'll find some time, too;-)

Regards, Mathias

(und Grüess us Höngg)

Original comment by mathiasn...@gmail.com on 21 Jul 2014 at 11:36

GoogleCodeExporter commented 9 years ago
no answer

Original comment by mathiasn...@gmail.com on 25 Sep 2014 at 3:03