Is it possible to use OneButton with attachInterrupt?

Hello everyone, :) so here is my question...

Intro: I'm using loop for no-interrupt reading encoder position, when I've tried to insert "button.tick();" inside it, it causes encoder reading failure. This is probably because of delay which occurs during tick();

I thought... if it possible to call tick(); with interrupt? So I don't need it in my loop?

I'm using OneButton cause I have single, press and double-click actions, and for me it was fastest way to implement this functions since I am programming noobie. :grin:

Of course attachInterrupt(pin, function, mode) doesn't work for me.

Anyone can halp? :blush:

Need to see your code. It's nice to see your schematic.