Comments (4)
Yes, all remote links within the list trigger fading. We might want to limit this only to item action buttons in future releases.
As a workaround for now, you can try to fade-in your list back at the end of your XHR JS views. I.e.:
$("#your_list").smart_listing().fadeLoaded()
from smart_listing.
Yeah. I just manually set the opacity on the element... same thing. This doesn't seem to be expected behavior... you should let people explicitly choose to add a class to links or ajax'd behaviors to get the fading.
Awesome gem, though. Really good work. If you're listing data, I can't see a reason why people wouldn't want to use this, ha. I remember a year ago or so, setting up jquery DataTables to work with remote data. It was... shit. Your choice to use kaminari, I could hug you. I owe you some beer. Cheers!
from smart_listing.
Limited the fading callback only to smart listing action links. This should not catch your custom links any more.
from smart_listing.
You rock. Thanks! Where's the 'buy you a beer' button? Link me!
from smart_listing.
Related Issues (20)
- Rails 5 Strong Parameters removes hash access for unpermitted params HOT 3
- Compatibility with rails 5.1 HOT 13
- be able to sort with an intance method of the class and not a column
- Prevent SQL Injection HOT 2
- Multiple params doesnt work after search HOT 1
- Update README regarding JS dependency HOT 1
- Pass locals params doesn't work HOT 1
- Rails 5.1 uses Webpack HOT 2
- Undefined local variable or method `smart_listing_resource' HOT 1
- Your site is down. HOT 1
- Elasticsearch with smart_listing
- Broken implicit sorting by join tables in v1.2.3 HOT 1
- Not all of the configured classes get applied?
- Replace kaminari with pagy
- The config editable class params should have side effect to broke gems
- Configured hidden class and popover_destroy command are not applied correctly
- needs to change pagination style
- "PG" Branch
- smart_listing.paginate broke with Ruby 3.1.1 HOT 3
- $(...).smart_listing is not a function HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from smart_listing.