OlivierCC / spfx-40-fantastics

This package is a sample kit of Client Side Web Parts built on the SharePoint Framework SPFx. You can find here different kind of high visual web parts as carousel, images galleries, animations, map, editors, etc.
MIT License
412 stars 277 forks source link

News Carousel Web Part - Image zooms out when scrolling the page #76

Open kathiravank83 opened 6 years ago

kathiravank83 commented 6 years ago

I have used the news carousel webpart to show the image and text. The image get zooms out while scrolling the page. Are there any way to stop zooming?

pinkflag commented 6 years ago

@kathiravank83 You have to disable it through the unite gallery that the carousel sits on. In the .unitegallery({...}) function in NewsCarouselWebPart.ts, add gallery_mousewheel_role: "none".

kathiravank83 commented 6 years ago

Thanks @pinkflag I have updated the code and package the solution. After deployed the package, i could not able to load the news carousel webpart. below is the error message

_> https://spfx40fantastics.azureedge.net/spfx40fantastics/unitegallery_b8546721d49d6e87788e219d916450cc.js' for resource 'unitegallery' in component '3f378f3d-733d-34b6-8470-17317bb0b275' (NewsCarousel). There was a network problem.

This may be a problem with a HTTPS certificate. Make sure you have the right certificate. _

image

I was referring this issue https://github.com/OlivierCC/spfx-40-fantastics/issues/35 which is similar. referred the CDN path are exactly same. what is suppose to do to make it work?

AltruisticNerd commented 6 years ago

Same issue here.

kathiravank83 commented 6 years ago

@pinkflag Could you help me on this issue?

a-kitaev commented 6 years ago

Use your own cdn or SharePoint library to host updated files