fancyapps / fancybox

jQuery lightbox script for displaying images, videos and more. Touch enabled, responsive and fully customizable.
http://fancyapps.com/
7.28k stars 1.78k forks source link

Drop jQuery #1346

Closed phifa closed 2 years ago

phifa commented 7 years ago

Howdy, just wanted to discuss dropping jQuery and going for Vanilla JS. Anybody any thoughts? Or ist this off the table.

fancyapps commented 7 years ago

Hi,

It is planned for v4.

Current project roadmap:

ooloth commented 7 years ago

v4! :)

odahcam commented 7 years ago

@fancyapps what did you mean with "modal lightbox and slider"? Specifically the slider part?

fancyapps commented 7 years ago

@odahcam The idea is that fancyBox could work just like any typical slider/carousel (for example, Slick slider, Owl carousel).

odahcam commented 7 years ago

Interesting, I always had doubt on why fancyBox did not used any touch/scrolling/carousel. So a "fancySlider" will born? 🤔 😃

TJung1968 commented 7 years ago

Well, personally, it’d prefer if dropping jQuery would be on the roadmap before the WordPress plugin… ;-) But of course I know that there are a lot of WP users out there, so I get why this has a higher priority.

odahcam commented 7 years ago

Creating the slider seems to be even better than drop jQuery or creating the WP plugin.

But WP plugin can give this project some extra community and money to help on staying alive.

davidhellmann commented 6 years ago

Yay jQuery Drop and I'm back to Fancybox. Until now > Photoswipe. Don't know if a slider is a must have. But ok. Wait for v4.

odahcam commented 6 years ago

Fancybox using the same engine for dialogs and sliding would be awesome, we would be able to use the fancy apps and drop Swiper, owlCarousel, etc.

rayphi commented 6 years ago

@fancyapps is there a public roadmap? eventually even with rough time goals?

phifa commented 6 years ago

looking so forward to this. @fancyapps beta testing already available?

Aharito commented 6 years ago

@fancyapps With all the fibers of my soul, I'm waiting for Vanilla JS FancyBox :) How are things progressing with version 4?

mtness commented 5 years ago

Any news on this now?

worka commented 5 years ago

Any news on this now? 😬

fancyapps commented 5 years ago

Hi guys,

Since it was so often requested, WP plugin development was put on hold to focus on the next major version. It would be useless to rewrite everything just to drop jQuery, so great attention is given to implement many feature requests. At this point, I can not give a specific date when it will be ready, but I can say that it is shaping pretty nice.

odahcam commented 5 years ago

Thank you so much for that! Fancybox has a lot of potential with agnostic technologies and the new features you mentioned, good luck!

mjcampagna commented 5 years ago

Likewise eagerly looking forward to a pure JS version of Fancybox. =D

aeadedoyin commented 5 years ago

Please drop jquery!!!

acwolff commented 5 years ago

?? What is the problem with jQuery?

Why should it be dropped?

odahcam commented 5 years ago

Compatibility, interoperability, tree shaking, performance, modularization... shoud I continue?

fancyapps commented 5 years ago

I have been coding plain JS for some time now and the only thing I miss from jQuery is the ability to easily work with events (e.g., something like $('.something').off('.namespace')).

odahcam commented 5 years ago

Also, you end up creating a much more stable code since things like event handling force you to know what you're doing. Usually for event handling you just need to keep the reference to the function you attached to the element so you can unbind it later, in the beginning things get a little odd, but with time the code turns into something much more readable than before.

jimblue commented 4 years ago

Hey @fancyapps !

I'm working on a photography website and was looking for the best lightbox and found photoswipe which is pretty nice but unmaintained sadly. So I keep trying a lot of tools and finaly I just found fancybox. I can tell you regardless of the jQuery part I'm really impressed. Good job! 🎉 I'm just wondering if you have kind of an idea when you will release V4? (it would help me decide which tool to use) Also do you plan to go trough an Alpha/Beta release? Maybe the open source community can help! 😄

Cheers

fancyapps commented 4 years ago

Hi,

Well, it is very difficult to give any estimates, therefore I try to avoid doing that. The only thing I can say is that the project is progressing well and is close to the finish. It will also take some time for the website and documentation to be completely rewritten. There will probably be at least one beta release to catch all bugs, etc. You can follow on twitter for the news. Thanks.

fancyapps commented 4 years ago

Hello, everyone!

I am thinking about creating something like "Technology Preview" release, would anyone be interested? A lot of work still needs to be done to add all planned functionality, but the base is already quite solid and usable.

Thanks for your support and patience.

fancyapps commented 4 years ago

Here you can check out the preview of what is coming next - https://fancyapps.com/next/

UMD version is used there, but the code is vanilla JS (ES6), Rollup/Babel is used to transpile and create a bundle.

odahcam commented 4 years ago

That's fantastic. I'm happy for the lib.

TJung1968 commented 4 years ago

This looks great, can’t wait to see the final version!

usb248 commented 4 years ago

Any updates :) ? the new version will be compatible with webpack/babel ? Any planned date ? @fancyapps

jordie23 commented 4 years ago

Amazing! Can't wait! Any predicted timeframe for release?

usb248 commented 4 years ago

Silent is golden.

gabrielsze commented 4 years ago

Waiting for this as well!

sjclark commented 4 years ago

Here you can check out the preview of what is coming next - https://fancyapps.com/next/

UMD version is used there, but the code is vanilla JS (ES6), Rollup/Babel is used to transpile and create a bundle.

@fancyapps is it possible for license holders to use this? From me playing around with it it seems solid enough for my usage (just lightbox).

Eldenroot commented 4 years ago

Omg, ETA?!

ionurboz commented 4 years ago

@fancyapps Are you considering debuting with Bootstrap 5? People are impatient 🥇 is there a public roadmap?

robertimes commented 3 years ago

I see this Fancyapps NEXT: http://fancyapps.com/next/

Can we please get a release date?

jerryc127 commented 3 years ago

Good job. waiting,hope can publish in this year.. i want to remove jquery for a long time..

fritexvz commented 3 years ago

Wow! Recently was searching for my website to drop jQuery, but stepped on popup gallery using jQuery.

http://fancyapps.com/next/ looks awesome without jQuery!

Just wonder could we "include" for example only the stuff we need? Like "pop-up gallery" functionallity only, if other not needed? (maybe like "bundle" to have it all, and/or enable/disable other stuff like with jQuery)

Hope to see some release and if possible do donate some $$ for this project

Thank you

robertimes commented 3 years ago

Or maybe just release that beta so we can play with them and help along however we can.

ionurboz commented 3 years ago

Or maybe just release that beta so we can play with them and help along however we can.

You can already access the files.

@fancyapps/ui/Fancybox v4.0.0-alpha.3

http://fancyapps.com/next/fancybox.umd.js?v=29052020 http://fancyapps.com/next/fancybox.css

Eldenroot commented 3 years ago

@fancyapps - more info is needed!

Venegrad commented 3 years ago

@fancyapps Any dates?

usb248 commented 3 years ago

Stop spamming. He works image

Eldenroot commented 3 years ago

Not a good PR... should share some info with community...

fancyapps commented 3 years ago

Hi,

Since it takes forever to cover everything in the documentation, but lots of people are asking for a preview, I have decided to publish first prerelease. You can check it out here - https://stackblitz.com/edit/js-3vfvc5?file=index.js

The current plan is to release an updated site next week (with many cool demos), gradually complete the documentation, add some missing features to Fancybox (top bar with slideshow, etc.) and Carousel (vertical navigation) and then work on the next components.

Thank you all for your support and patience.

fancyapps commented 2 years ago

Sorry that it took so long, but the next-generation Fancybox is already available, see https://fancyapps.com/docs/ui/fancybox