Closed (won't fix)
Project:
Bootstrap
Version:
8.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Issue tags:
Reporter:
Created:
18 May 2016 at 20:45 UTC
Updated:
13 Sep 2024 at 15:13 UTC
Jump to comment: Most recent
Comments
Comment #2
jorgediazhav commentedHi Soundvessel!
Bootstrap 3 by default doesn't shows any progress (I guess it is part of the simplified UI)
Although there's been a solid trend of limiting the Drupal base theme to behave as close as possible to Bootstrap framework, I agree with you that there should be some kind of indicator of the asynchronous upload.
Due to the interest we have of finally releasing the stable D8 version of the base theme, I'm switching the category and priority of this issue to a more appropriate status.
Comment #3
markhalliwellThis could very well be an issue that there is no "fullscreen throbber" in Bootstrap at the moment. That (and all the AJAX throbbers) will likely need to be re-evaluated properly, see: http://cgit.drupalcode.org/bootstrap/tree/js/misc/ajax.js
Comment #4
andrewkamm commentedIn case anyone else is running into this, one workaround is to remove the
js-hideclass from the upload button using an appropriate preprocess hook. The button includes a spinner icon while an upload is in progress. I used the code below for the image widget uploader:(assuming that you're working in a sub-theme of Bootstrap)
Comment #5
qqboy commentedin a exposed input for a views.
also ajax is working, throbber not showing.
we can NOT see a class name : js-hide
but as follows
can some one help
thanks.
actually when ajax processing
it is disabled
somehow a little misleading
when ajax finished
disabled is gone and button turns to be normal
Comment #6
markhalliwellAh! Hm, yes... seems the ajax.js logic for appending a throbber needs a little love so it doesn't add it to hidden elements :D
Comment #7
2dareis2do commentedNot sure if this is the same but after working on bootstrap barrio I realised that I was missing the ajax spinner. Looking at other themes such as claro, it seems they require some js and css for this to work:
For bootstrap it seems to be missing the following in theme.js
Alternatively the same can be implemented in your sub theme using
attach: function (context, settings) {e.g.then in your theme you will need some css. e.g.:
This is a modified version of whats in web/core/modules/system/css/components/ajax-progress.module.css
This can also be loaded be adding
- core/drupalas a js dependency in your subthemes library.yml fileComment #8
hatuhay commented