Tab nesting feature

5 years 3 months ago #310294 by krileon
Replied by krileon on topic Tab nesting feature

and using this code makes that iOS users have to touch once to show the qtip and another time to activate the # link. Is it possible to change the behavior with your js in order to get one touch only ?

No, as the tooltip has to open on click for mobile and it does not pass through the click event. Tooltips shouldn't be inside of links like that.

We were thinking of using standard bootstrap 4 qtip but it doesn't seem to work unless we activate the js in the CB page. So I guess you're using another library and would like how to produce a standard iOS behavior on our web app which uses CB pages.

We don't use Bootstrap JS. We only use their CSS. The tooltips are qtip2 with our custom cbtooltip wrapper.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

5 years 3 months ago #310297 by activha
Replied by activha on topic Tab nesting feature

Tooltips shouldn't be inside of links like that.


Do you have a suggestion for the use that we want ?

Roughly we only want icons on small screens but with a tooltip appearing when the tab is clicked

Please Log in to join the conversation.

5 years 3 months ago #310307 by krileon
Replied by krileon on topic Tab nesting feature

Do you have a suggestion for the use that we want ?

The tooltip maybe sitting on top of the tab since you're positioning it relative to the icon. Try adding data-cbtooltip-adjustX="PIXELS_HERE" and/or data-cbtooltip-adjustY="PIXELS_HERE" to give it an offset adjustment. Aside from that I don't know what to suggest as it's not really intended to be used like that inside of a link as typically the tooltip would just be put on the link and not the icon inside of it.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

5 years 3 months ago #310314 by activha
Replied by activha on topic Tab nesting feature
No it does not work when moving X or Y, same behavior, double touch is needed to open the tab. First touch for the qtip and second one opens the link.

Is there any possibility to add the qtip to the link tab easily with CB ? any other idea ?

Please Log in to join the conversation.

5 years 3 months ago #310322 by krileon
Replied by krileon on topic Tab nesting feature

No it does not work when moving X or Y, same behavior, double touch is needed to open the tab. First touch for the qtip and second one opens the link.

Nothing I can do about that then as it wasn't designed for the usage you're trying to do. Both the link and the tooltip are trying to take the click event. I can't risk breaking our hundreds of tooltip usages for this usecase, sorry. It's likely the stopPropagation in the qtip2 JS blocking the click through to the tab.

Is there any possibility to add the qtip to the link tab easily with CB ? any other idea ?

Not without using jQuery to attach it to the tab link it self or using jQuery to act on the tooltip events to make the parent link active.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

5 years 3 months ago #310324 by activha
Replied by activha on topic Tab nesting feature
OK , in this case is it possible to add a description area in the tabs which could appear once the icon/link is clicked ?

Kind of what happens for profile edit, but something we could use in profile view for that kind of usage ? Would greatly enhance the UI for small screens with using icons only like we do

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.214 seconds

Facebook Twitter LinkedIn