another futile one, but I guess I may as well ask…
is there any way to get a component to be included in this canModalEventBeSentToComponent check WITHOUT subclassing? or maybe a flag to say ‘ignoreModalBlocking’ on the target component. i’m trying to make an acessibility widget but modal components get their inputAttemptWhenModal callback called when I click on it - in Label this causes the editor to disappear. Obviously I can subclass Label but it would be good to be able to have it automatically work for all components.
thinking about it, perhaps the best solution would be to have a special Component subclass for this purpose - AccessibilityComponent perhaps; before testing ‘canModalEventBeSentToComponent’, it could do a dynamic cast check on the component - if it’s an AccessibilityComponent, it will allow the event. What do you think?