nextcloud-libraries / nextcloud-libraries/nextcloud-vue
NcActions open toggle flickers if devtools are opened
Open
Nobody has claimed this yet.
0. to triage
bug
- Dominant language
- Vue
- Stars
- 246
- Forks
- 99
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 103
Description
| Devtools opened | Closed |
|---|---|
![]() |
![]() |
Not sure this is really an issue, but am I the only one? 😅
Reproducible code
<template>
<div>
<button @click="open=open===1?2:1">Toggle</button>
<NcActions :force-menu="true" :open="open===1">
<NcActionButton @click="actionDelete">
<template #icon>
<Delete :size="20" />
</template>
Delete
</NcActionButton>
</NcActions>
<NcActions :force-menu="true" :open="open===2">
<NcActionButton @click="actionDelete">
<template #icon>
<Delete :size="20" />
</template>
Delete
</NcActionButton>
</NcActions>
</div>
</template>
<script>
import Delete from 'vue-material-design-icons/Delete'
export default {
components: {
Delete,
},
data() {
return {open:0}
},
methods: {
actionDelete() {
alert('Delete')
},
},
}
</script>
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 NcActions component and reproduce the two-toggle Vue example from the issue with browser devtools opened and closed. Trace why the open state flickers, then verify that switching between the two NcActions instances leaves only the selected menu open without visual flicker in either devtools state.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100

