nextcloud-libraries / nextcloud-libraries/nextcloud-vue

[NcPopover] Provided 'title' property to trigger does not appear

Open
#6,677 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop bug feature: popover
Dominant language
Vue
Stars
246
Forks
99
Avg merge
1d 20h
Merged PRs (30d)
103

Description

Tracked it down to upstream:

https://github.com/Akryum/floating-vue/blob/19857764c4f73dea7ed44a7d970adb968ee7ad90/packages/floating-vue/src/components/Popper.ts#L504

this.$_swapTargetAttrs('title', 'data-original-title') is replaced and no longer shown by browser

It might interfere with upstream library hover behaviour, but there were no discussion about disabling/reverting it
Do we need a workaround here?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the NcPopover implementation and the upstream floating-vue Popper.ts reference at line 504. Reproduce the missing trigger title, then determine whether a local workaround is appropriate despite the possible impact on upstream hover behavior; done means the title appears without breaking that behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.