New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PopoverBehavior does not respect TooltipConfig #93

Closed
iluwatar opened this Issue Nov 29, 2012 · 1 comment

Comments

Projects
None yet
2 participants
@iluwatar
Copy link

iluwatar commented Nov 29, 2012

When I create new PopoverBehaviour object with this constructor:

public PopoverBehavior(final IModel label, final IModel body, final TooltipConfig config)

It still behaves as if the TooltipConfig was set to default (placement: right and popup on click). My code:

PopoverBehavior popover = new PopoverBehavior(new Model("Header"), new Model("Body text"), new TooltipConfig().withPlacement(TooltipConfig.Placement.top).withTrigger(TooltipConfig.Trigger.hover));

@ghost ghost assigned l0rdn1kk0n Nov 29, 2012

@l0rdn1kk0n

This comment has been minimized.

Copy link
Owner

l0rdn1kk0n commented Nov 29, 2012

the problem was a conflict between popover and tooltip default values. I've added a new PopoverConfig (inherits from TooltipConfig) which uses the correct default values.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment