eclipsesource / eclipsesource/tabris-js

TextView event `tapLink` also fires when regular text is tapped

Open
#2,029 1 comment 0 reactions 0 assignees View on GitHub
bug ios
Dominant language
JavaScript
Stars
1.4k
Forks
171
PR merge metrics
No merged PRs in 30d

Description

### Problem description

Using a `onTapLink` listener on iOS fires the listener event when the link is not directly touched but only the text around the link.

### Expected behavior

Only fire the `tapLink` listener when the link is tapped.

### Environment

- Tabris.js version: 3.4
- Device: iPhone 6
- OS: iOS 13.4

### Code snippet

```javascript
console.warn('link tapped')}
text='markupEnabled onTapLink link'/>
```

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the supplied TextView markup and onTapLink example on iOS with Tabris.js 3.4, then trace the TextView tapLink event handling. Done means the listener fires when the link is tapped but not when surrounding regular text is tapped.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.