-
-
Notifications
You must be signed in to change notification settings - Fork 647
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
Allow highlighting multiple elements per step #525
Comments
@jujaysmile I'm not sure I understand, is the child element not inside the parent? If the parent is highlighted, the child should be as well. Can you provide a small example for us to play with? |
@rwwagner90 hi, yes, the child element is inside the parent. Here is my code HTML
CSS
JS
And here a screenshot Thanks for your help ! |
@jujaysmile The issue is you are setting a width and height on the parent. We use |
@rwwagner90 OK, thanks for your answer, I understand the problem. Do you know if there is a way to specify multiple highlighted elements (in this case .parent & .child), i think it will be the perfect solution in this case. |
@jujaysmile it's not currently supported. There was an issue opened for it in the past #356 The problem is if you allowed multiple elements in |
@rwwagner90, ok. I am currently working on a big project and don't have a lot of time right now. But maybe in some times. I am interested by the concept of your tool. |
@jujaysmile When do you think you might have some time? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Another usecase is to "highlight" a column of a table. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
@chuckcarpenter would you want to take a stab at this one? |
@Heziode that's a great use case and had us looking in how this could be supported without a big refactor. You can actually use absolute positioning around the colgroup in your table to accomplish this pretty quickly. e.g., |
@chuckcarpenter should we document your approach here in the cookbook and then close the posibility of highlighting multiple things for now? |
The colgroup solution wouldn't work on multiple rows? say you have a https://codepen.io/akhoury/pen/KKdZVPm?editors=0011 edit: I did solve my issue with having multiple |
@akhoury I believe we were saying you can create a div or some absolute positioned element over the thing you want to highlight, and then you can use that as the target, thus highlighting everything. |
ah ok, right. thanks. |
Hi,
I want to attach a step to an element with fixed width & height, this element has a div child (a dropdown content) positioned with the "absolute" css property.
When i configure the attachTo; element: '.parent-element'. the opac layer cover the entire screen, except my element, but the child element is not visible and covered by the opac layer.
Do you have any solution to not cover the parent element and his child ? or a way to specify multiple highlighted elements ?
Thanks
The text was updated successfully, but these errors were encountered: