Pretty disappointing.
Anyway, thanks for the answers.
guirip220
@guirip220
Posts made by guirip220
-
RE: Theme Roller css breaks my app UI
-
Theme Roller css breaks my app UI
Hello
I used the Theme Roller because I needed to change the color of the Toolbar component on Android (would like it to be like on iOS).
BEFORE
import '../node_modules/onsenui/css/onsen-css-components.css';
Buttons and labels in ToolBar are vertically centered.
SplitterSide content is correctly styled.AFTER
import '../data/public/lib/onsen-css-components.min.css';
Ok the colours are now what we wanted, but everything else has gone wrong…!
I simply replaced the import of:
- node_modules/onsenui/css/onsen-css-components.css
by the downloaded css:
- data/public/lib/onsen-css-components.min.css
What is the problem ?
Here are the versions we are using:
- onsenui: 2.2.1
- react-onsenui: 1.2.0
Any help would be very appreciated.
Guillaume
-
RE: ons-splitter-side
@guirip220: Forget about it. Works much better when looking at the react section of your documentation!
-
RE: ons-splitter-side
Hello
How can we open/close the menu from a state/props attribute?
The component SplitterSide has no attribute to indicate if we want it to be opened or closed. The only way I see is something like this:
<SplitterSide postclose={actions.closeMenu} ref={ instance => { if (instance) { let el = ReactDOM.findDOMNode(instance); if (props.isOpen && !el.isOpen) { el.open(); } else if (!props.isOpen && el.isOpen) { el.close(); } } } }>
which is overcomplicated and does not work as well as expected.
-
RE: Onsen UI 2.2.0 Release: CSS Upgrade
Hello
I read that this concerns not only OnsenUI core but also ‘Angular, React and Vue bindings as well’, so shouldn’t there be a new release on react-onsen github page ? (still 1.0.3 from 26 oct.)
https://github.com/OnsenUI/react-onsenui/releasesCheers from France
Guillaume