Questions tagged [grommet]

grommet tag is used to mark questions related to grommet framework

Grommet was created to give developers and designers alike access to tools that otherwise are out of reach of most product teams. Grommet’s goal is to assist in creating experiences that work across the many different interaction methods and screen sizes.

Grommet is structured to foster active communication between designers and developers in hopes of creating better user experience.

100 questions
0
votes
1 answer

Does Enzyme only work with lower level components?

I'm writing some unit tests for React/Redux/Grommet app. For testing I'm using Jest/Enzyme/Chai/Sinon. I have the following component: import React from 'react' import FormField from 'grommet/components/FormField' import Box from…
John Devitt
  • 690
  • 2
  • 8
  • 22
0
votes
1 answer

Debug grommet-cli sample-app in vscode

Loving Grommet and vscode. Trying to get them to play together. I am able to get Express and vscode working as shown here. I would like to get the grommet-cli sample app to work similarly. Express has one command to start: "npm start" where…
Douglas
  • 3,093
  • 4
  • 22
  • 22
0
votes
2 answers

sass-loader not working with webpack + react + grommet

I'm trying to get started with webpack and Grommet working together. I'm following this tutorial: https://github.com/grommet/grommet-standalone but I'm getting the following error: ERROR in ./src/app/index.js Module not found: Error: Can't resolve…
John Devitt
  • 690
  • 2
  • 8
  • 22
0
votes
2 answers

How to hide Grommet SideSplit component

I have a React/redux app using the grommet ux framework. The basic structure is:
genestd
  • 384
  • 3
  • 16
0
votes
1 answer

Unable to run npm on mac terminal

I have previously installed node and I can see I have version v4.2.2 on my mac when running node -v. I'm now trying to update to latest version of node as well as install grommet.js When enter on terminal: npm install npm@latest -g or npm install…
user2300867
  • 593
  • 1
  • 12
  • 28
0
votes
3 answers

How to call a method from click event within render?

I'm using state to open and close a layer in a click event of an icon. When I call the _onOpenLayer() from the click handler nothing happens. Previously I had called the method direct from the icon click onClick={this._onOpenLayer()}, this did open…
Brian Var
  • 6,029
  • 25
  • 114
  • 212
0
votes
1 answer

Avoid select content being scroll-able inside the parent

I am combining react-select with Grommet and have the select inside a Grommet FormField component like this: