-
Notifications
You must be signed in to change notification settings - Fork 246
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
[HELP] Multiple galleries with tabs on the same page #153
Comments
I solved the issue by bypassing it with some basic It's a good solution and I'm happy with it, but I would still like to know why this was happening :/ |
@FrogMustang this is just theorizing, but it must mean that calculated height from the tab is 0 at the time when the script runs from the first time. It may need the height of the parent container to calculate the layout. |
Filterizr version
Which version of Filterizr do you have installed in your project?
I'm using v2.2.4
Describe the issue in details
I'm using bootstrap tabs with 2 galleries that are independent. Both galleries use the same script (the vanilla version) and they have custom filters. Everything works well when they are in the same tab, but a weird error occurs when I try to put them in separate ones.
The error
![image](https://user-images.githubusercontent.com/56998879/108007973-809c4280-6fff-11eb-9d18-bee7e0c7e784.png)
The HTML code
The JS code
The CSS
Any ideas why this is happening? Maybe something in the bootstrap Tabs is messing with it.
The text was updated successfully, but these errors were encountered: