owl-carousel is showing items vertically before finishing loading - owl-carousel-2

My owl-carousel is showing items vertically before finishing loading.
after finishing loading the slider work properly,How can I fix that?
*I'm using owl-carousel 2
Thank you.

Problem solved ..
the problem was that i added "owl-loaded" class to my slider's container .. i removed it and it worked ..

Related

How to solve the problem with scrolling in react-select when loading data?

Could you tell me how to solve the problem with scrolling in react-select when loading data. After query execution and data rendering, there is an automatic scroll up, how can this be fixed? This behavior is observed only when using a custom component MenuList, no matter what library is used for infinity loading, I will be grateful for any help
CODE - https://codesandbox.io/s/cool-merkle-d2wjh8?file=/src/SelectWrapper.jsx

(iOS) Is it possible to move loading spinner in FlatList refreshing prop?

I am trying to use pull to refresh from FlatList. Is it possible to move the spinner to where the data actually starts rendering instead of the top of the screen? I found the progressViewOffset that works on Android but I am trying to find how I can implement this behaviour on iOS too. I feel like my solution is to watch scroll interactions and go on from there.
Any idea is appreciated. Thanks in advance.

onEndReached not working properly within any ScrollView React native

I am creating a Listview with pagination. If i put the ListView within KeyboardAwareScrollView then onEndReached not called properly. But if i don't put the ListView within any kind of Scrollview it is working perfectly.
My problem is that the content above the ListView is quite big. If i don't put it entire view within any scrollview the bottom content will not be shown.
How to solve this issue?
Thanks in advance.
Sorry I can't put comment because my rep is below 50.
I'm trying to imagine ur situation based on the description because there's no snapshot of ur desired outcome and current outcome. What I understood is this:
If i don't put it entire view within any scrollview the bottom content
will not be shown
This may be just the problem of not putting {flex:1} in the outtermost container view
If i put the ListView within KeyboardAwareScrollView then onEndReached
not called properly
ListView is deprecated as per React Native 0.55 documentation. I don't really understand your scenario, but you might wanna consider just using Scrollview or Flatlist, they might have the solution that ur looking for in a different form. If you are looking for a solution so that your view would avoid keyboard, u could simply use KeyboardAvoidingView from react native instead of using a third party lib, because sometimes they could be restrictive.
All the best! :)

Why does the iOS toolbar view get added on top of my loading view when I hide and show it again?

I have a normal navigation based iOS app
I've got "loading view" which I initiate from my app delegate and use across the app, simply by showing and hiding it.
This works fine, but as soon as I hide the bottom toolbar in one of the views in the app and display it again, the toolbar seems now be shown on top of the my generic "loading view"
Any help is much appreciated
How do you add your bottomBar? Obviously not on the view itself, right? Than it would probably be beneath the overlay.
Also you should use an extra window for the loading overlay. That would solve your issues.
I basically ended up deleting the loading view and recreating it each time.
It now appears at the top of the view hierarchy each time. This fixed the problem.

EGOPhotoViewer: gesture not working

I'm using the EGOPhotoViewer library for displaying photos in my iOS 5 App. Many of the galleries are working fine, but some of they have an issue. Please see this video on Vimeo:
http://vimeo.com/34300336.
As you can see, on the fifth image, a swipe no longer brings me to the next image. Does anybody know how to fix this issue in EGOPhotoViewer?
Please tell me if you need further information.
Inside the EGOPhotoScrollView.m I changed the property scrollEnabled to NO, which seems to work for me. But I do not know what impact this could cause.