L
L
lavezzi12017-08-21 05:57:12
API
lavezzi1, 2017-08-21 05:57:12

Focus and click how to make sequence?

Hello. There is a button that has two handlers: focus and click. Action - toggle popup. Now the bug is such that when you click on the button, focus first occurs and the popup appears, and immediately disappears as it fulfills the click. How to be?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Stockholm Syndrome, 2019-04-21
@fed7918

return [
  API.groups.editManager({/* параметры */}),
  API.groups.ban({/* параметры */}),
  API.photos.delete({/* параметры */})
];

I
iDrugov, 2017-08-21
@iDrugov

If you want a mouseover response, then this is hover. And so, you can swap the code for focus and click, if you need to solve the problem with them. Well, the question is not particularly clear.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question