Implementing Popovers (floating forms)

Nice idea.

I’ve added that feature.

Default:
All popovers are dismissed when you click away from them

Override
override this behaviour for all popovers

from popover import popover
popover.dismiss_on_outside_click(False)

Or
override for an individual popover

self.button_1.popover(content='foo', auto_dismiss=False)

I’ve included this as part of the example

3 Likes