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

hoveredObjectId (subscribeCrosshairMove) is not set for a marker crossed by price line #1513

Open
Jokero opened this issue Feb 7, 2024 · 1 comment
Labels
bug Unexpected problem or unintended behavior.
Milestone

Comments

@Jokero
Copy link

Jokero commented Feb 7, 2024

Lightweight Charts™ Version: 4.1.3

Steps/code to reproduce:

  1. Open a demo https://jsfiddle.net/4kygp6e7/2/
  2. Open console
  3. Hover over the first two markers and check hoveredObjectId in the console (there should be ID)
  4. Hover over the last marker and check hoveredObjectId in the console (there will be undefined instead of ID)

Actual behavior:

hoveredObjectId property of subscribeCrosshairMove callback parameter is not set for a marker crossed by price line.

Expected behavior:

hoveredObjectId property of subscribeCrosshairMove callback parameter should be set to marker ID.

Screenshots:

image image image

CodeSandbox/JSFiddle/etc link: https://jsfiddle.net/4kygp6e7/2/

@SlicedSilver SlicedSilver added the bug Unexpected problem or unintended behavior. label May 8, 2024
@SlicedSilver SlicedSilver added this to the 5.0 milestone May 8, 2024
@SlicedSilver
Copy link
Contributor

Related: #1503

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Unexpected problem or unintended behavior.
Projects
None yet
Development

No branches or pull requests

2 participants