Skip to content
This repository has been archived by the owner on Jul 26, 2022. It is now read-only.

ui-file dropzone not stretching to fill column width #227

Open
SvetlozarValchev opened this issue Mar 31, 2020 · 6 comments
Open

ui-file dropzone not stretching to fill column width #227

SvetlozarValchev opened this issue Mar 31, 2020 · 6 comments

Comments

@SvetlozarValchev
Copy link

SvetlozarValchev commented Mar 31, 2020

There seems to be a difference between the example provided here: https://aurelia-ui-framework.herokuapp.com/docs/form and the actual implementation

The dropzone doesn't stretch to fill the column width. It seems that getting it out of <input-wrapper> (like it is in the example docs) fixes it.

image

@SvetlozarValchev
Copy link
Author

SvetlozarValchev commented Apr 7, 2020

Found the issue. The @viewResources is not working for some reason and doesn't get included in ui-file, ui-input, etc. Which means it has no special behaviour and therefore there's no @containerless to remove it, so it breaks the CSS.

This happens only when included as a module, the reason it works in the Demo Docs is because it's directly loaded into Aurelia.

@firstfocus
Copy link

@SvetlozarValchev did you find any solution to this? I am having issues with all custom elements with @viewResources when I do a local compile of this library to dist and use npm link.

@SvetlozarValchev
Copy link
Author

@firstfocus Not really, I don't remember if I either solved it with CSS override or loading it the way it's in the demo (directly loading it in), but I eventually moved to a different UI framework as this one seems abandoned.

@firstfocus
Copy link

@SvetlozarValchev thanks for the reaction! Which framework did you switch to? I'm struggling finding an alternative as complete as this.

@SvetlozarValchev
Copy link
Author

@firstfocus Tried Materialize and a few others, but ultimately switched to Vue.js + Vuetify as most UI Frameworks for Aurelia seem to be either abandoned or insufficient for our needs.

@firstfocus
Copy link

@SvetlozarValchev Looks like we will be switching too. Thanks for the tip!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants