Skip to content

[Bug] Multi-line ticket names inside lists cause layout bug and click offset #172

@melgu

Description

@melgu

Describe the bug
When an issue doesn't fit on one line,

To Reproduce
Steps to reproduce the behavior:

  1. Create a Jira ticket with a long name
  2. Add a list
  3. Add Jira ticket to the list, like so:
* JIRA:SOME-TICKET
    * Some text
    * More text
  1. Click on "Some text"

Expected behavior
Everything works as usual. The Jira ticket box shrinks to fit into the available space and onto the single line.
Clicking on "Some text" puts the cursor into that line.

Actual behavior
The ticket box grows larger than the available space, so it sits below the list icon indicator.
It looks something like this:

*
[SOME-TICKET Imagine a very long ticket title]
    * Some text
    * More text

Clicking on "Some text" puts the cursor into the line below ("More text").

Screenshots
Not possible without revealing company secrets.
See code block above for an example representation.

Plugin version and platform

  • Version: 1.57.0
  • Obsidian Windows (untested)
  • Obsidian Mac
  • Obsidian Linux (untested)
  • Obsidian Android (untested)
  • Obsidian iOS (untested)

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions