question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

the Title input contradicts the HTML global `title` attribute

See original GitHub issue

Describe the bug ngx-joyride is using the title input for the step title. This contradicts the HTML global title attribute which results in showing a tooltip over the content of the step which can be annoying for large areas.

To Reproduce Steps to reproduce the behavior:

  1. Hover over an element that has a joyrideStep directive. (without the tour guide being active).
  2. The browser will show a tooltip for that element.

Expected behavior Not show the default browser tooltip for the element that uses joyrideStep

Screenshots If applicable, add screenshots to help explain your problem.

Details:

  • Browser: Any

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:3
  • Comments:5

github_iconTop GitHub Comments

3reactions
baztercommented, Oct 4, 2019

The problem is in the input name itself, it’s a bad decision to name a directive input with standard name like “title”. What if I’d like to keep the default title attribute behavior? Author should consider an API change. Use prefixes, just like Angular devs recommend in the docs…

0reactions
Ashish117commented, Mar 2, 2021

@tnicola this is an actual problem!

Read more comments on GitHub >

github_iconTop Results From Across the Web

title - HTML: HyperText Markup Language - MDN Web Docs
The title global attribute contains text representing advisory information related to the element it belongs to.
Read more >
HTML Global title Attribute
The title attribute specifies extra information about an element. The information is most often shown as a tooltip text when the mouse moves...
Read more >
Using the HTML title attribute - updated March 2020
The HTML title attribute is problematic. It is problematic because it is not well supported in some crucial respects, even though it has...
Read more >
html - How to change the style of the title attribute inside an ...
For this, I'd use a data-title attribute. data-* attributes are a method to store custom data in DOM elements/HTML. There are multiple ways...
Read more >
The Title Attribute and Why It's Almost Useless | Blog
The HTML title attribute is problematic. It is problematic because it is not well supported in some crucial respects, even though it has...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found