nextcloud-libraries / nextcloud-libraries/nextcloud-vue
[NcAssistantButton] Unexpected value rotateX(285) parsing gradientTransform attribute.
Nobody has claimed this yet.
- Dominant language
- Vue
- Stars
- 246
- Forks
- 99
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 103
Description
Using NcAssistantButton throws causes console errors.
Reproduce
Open https://nextcloud-vue-components.netlify.app/#/Components/Nextcloud%20Assistant?id=ncassistantbutton and then the browser console.
Expected behaviour
No console warning.
Actual behvaviour
Firefox
Looks good
but produces log
Unexpected value rotateX(285) parsing gradientTransform attribute.
Chrome
Looks also good
but produces log
gradientTransform: Expected '(', "rotateX(285)".
Additional Notes
I do not know whether broken code can be just removed or whether the component is visually broken (aka. should have some gradient that is currently not correctly set)
Affects v8 and v9.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the NcAssistantButton implementation and reproduce the issue at the linked Nextcloud Vue Components demo in Firefox and Chrome. Inspect the gradientTransform value that produces the warning, then verify the component still renders correctly and the browser console stays free of gradientTransform warnings.
Written by the indexing model from the issue text.
Assessment
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 65/100