question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

onClickOutside: Argument of type 'Ref<null>' is not assignable to parameter of type 'MaybeElementRef'.

See original GitHub issue

Screen Shot 2021-03-30 at 20 28 51 iam used some [example](const target = ref(null) onClickOutside(target, (event) => accessor.modalComponent.setQuicSearchInterfaceField({ key: ‘isOpen’, value: false })))

const target = ref(null)
   
 onClickOutside(target, (event) => accessor.modalComponent.setQuicSearchInterfaceField({ key: 'isOpen', value: false }))

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
antfucommented, Mar 31, 2021

Doesn’t find anything suspicious. Maybe updates your vue version?

0reactions
productdevbookcommented, May 13, 2021

@productfrontenddeveloper is this still an issue for you?

no

Read more comments on GitHub >

github_iconTop Results From Across the Web

Argument of type 'Element' is not assignable to parameter of ...
Using TypeScript, when attempting to cy.mount an element. Such as: cy.mount( ) Provides the type error: Argument of type 'Element' is not ......
Read more >
Argument of type 'Ref<x>' is not assignable to parameter of ...
I found it out. You have to append .value to get the value itself. const name = ref('') name // <-- Ref object...
Read more >
vueuse - Bountysource
onClickOutside : Argument of type 'Ref<null>' is not assignable to parameter of type 'MaybeElementRef'. $ 0 ... Created 1 year ago in vueuse/vueuse...
Read more >
Argument of type 'string' is not assignable to parameter of type
I'm new to Typescript and trying to do a project with it to get better, but I've been unable to solve this issue...
Read more >
TIPS react - Is not assignable to parameter of type 'AnyAction'
Salut les curieux, les curieusesQuand on travaille avec react, redux, et le redux toolkit, on peut tomber sur des cas tricky qui peuvent ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found