-
Notifications
You must be signed in to change notification settings - Fork 102
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
b:buttonGroup last Item #816
Comments
This ticket rings a bell. Some time ago, we had a similar bug. I hope it's not a recurring bug :). |
Wait. We did solve this problem some time ago by shifting the JavaScript code into the <button id="j_idt189" name="j_idt189" type="button" class="btn btn-default" data-toggle="tooltip" data-placement="auto" data-container="body" title="" data-original-title="last">4<script type="text/javascript">$(function () {
$('#j_idt189').tooltip({'delay':{show:0,hide:0}})
});
$('.tooltip').tooltip('destroy'); </script></button> <b:buttonGroup>
<b:button value="1" tooltip="first"/>
<b:button value="2" tooltip="second"/>
<b:button value="3" tooltip="third"/>
<b:button value="4" tooltip="last"/>
</b:buttonGroup> |
Can you send me a reproducer? In this case, that'd be the XHTML file. Plus, I'd like to see the generated HTML code. I can't promise anything, but the next version of BootsFaces is scheduled for Saturday, and I'd like to fix this error in 1.1.2. |
Attached two files. nachbuchung.xhtml the source code and nachbuchung.html the rendered code. |
…t's the last button of a buttongroup
Thanks for the extra info! I've implemented your proposed solution and uploaded the new developer snapshot to Maven Central. See #369 on how to get it. |
This is caused by #794. The overflow needs to be fixed somehow |
That's the answer to my (unspoken) question: Yes, we do need to make the new datatable wrapper configurable. The challenge is to find a good name :). |
Hi,
just found out that if one uses tooltips on the last button in a button group, that button gets rendered in a wrong way - the corners don't have a radius because its interpreted as internal button. That is due to the fact that the last element in the button group is not the button but the script tag associated with the tooltip for the last button. Stinking feature of bootstrap because that will be hard to fix when the button does not know if it is in a button group (it does not need to know except for this bug). It works if the script and the button html change places. But one can not do that for all the buttons in the group, because then the problem is shifted to the first button :(
Stephan
The text was updated successfully, but these errors were encountered: