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

[Bug]: Inconsistent Link Popover Behavior in Live Preview and Reading Mode #280

Open
2 tasks done
justanotherjurastudent opened this issue Sep 30, 2024 · 0 comments
Open
2 tasks done
Labels
bug Something isn't working

Comments

@justanotherjurastudent
Copy link

Bug Description

I've noticed some inconsistent behaviorregarding link popovers in different Obsidian modes:

  1. In Live Preview mode:

    • Links within tables are displayed as popovers when hovering.
    • Links in normal text (e.g., in bullet points) do not show as popovers.
  2. In Reading mode:

    • The opposite occurs: links in tables do not load as popovers.
    • Links in normal text do show as popovers (which is the expected behavior).

This inconsistency creates a confusing user experience, as the popover functionality doesn't work uniformly across different parts of the document and in different viewing modes.

Expected behavior:

  • Consistent popover functionality for all links, regardless of their location in the document (tables, bullet points, etc.).
  • Consistent behavior across both Live Preview and Reading modes.

Could you please investigate this issue and work towards a solution that provides a more consistent popover experience across different document elements and viewing modes?

Additional information:

  • Obsidian version: 1.6.7
  • Surfing plugin version: 0.9.12
  • Operating system: Win11

Thank you for your attention to this matter.

Relevant Screenshot

No response

To Reproduce

Steps to Reproduce:

  1. Install and enable the Surfing plugin in Obsidian.

  2. Create a new note with the following content:

    Normal text link: Example

    Bullet point link:

    Table with link:

    Column 1 Column 2
    Table link Some text
  3. In Live Preview mode:
    a. Hover over the normal text link and the bullet point link. Observe that no popover appears.
    b. Hover over the link in the table. Observe that a popover does appear.

  4. Switch to Reading mode:
    a. Hover over the normal text link and the bullet point link. Observe that popovers appear as expected.
    b. Hover over the link in the table. Observe that no popover appears.

  5. Repeat steps 3-4 multiple times to ensure consistency of the behavior.

Note: Ensure that the Surfing plugin settings are at their default values when testing this behavior.

This inconsistency occurs regardless of the actual URLs used in the links. The important factor is the location of the link within the document structure (normal text, bullet points, or tables) and the current viewing mode (Live Preview or Reading mode).

Obsidian Version

1.6.7

web-browser-only

  • Did you install only one web browser plugin?

Checklist

  • I updated to the latest version of the plugin.
@justanotherjurastudent justanotherjurastudent added the bug Something isn't working label Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant