scalajs-react-components icon indicating copy to clipboard operation
scalajs-react-components copied to clipboard

Reusable scalajs-react components

Results 10 scalajs-react-components issues
Sort by recently updated
recently updated
newest added

I am trying to upgrade material-ui to 1.2.1 version, the code generation fails with ... `scala.MatchError: {O}0 ,> {O}{U%}_exactProp.default({O}{U%}Portal.propTypes, "Portal")` Seems like the requiresjs does not support below kind of...

When I try to compile, I get linker errors like this ``` [error] Referring to non-existent method japgolly.scalajs.react.component.Js$.apply(scala.scalajs.js.Any,japgolly.scalajs.react.CtorType$Summoner)japgolly.scalajs.react.component.JsBaseComponentTemplate$ComponentWithRoot [error] called from chandu0101.scalajs.react.components.elementalui.Table.apply(scala.collection.Seq)japgolly.scalajs.react.component.Js$UnmountedWithRoot ``` by using ``` import chandu0101.scalajs.react.components.elementalui._ Table()(), ```...

The case class ``` case class Dropdown(alignRight: js.UndefOr[Boolean] = js.undefined, buttonHasDisclosureArrow: js.UndefOr[Boolean] = js.undefined, buttonLabel: js.UndefOr[String] = js.undefined, buttonType: js.UndefOr[ButtonType] = js.undefined, className: js.UndefOr[String] = js.undefined, isOpen: js.UndefOr[Boolean] = js.undefined,...

This would just need an additional field in `ReactInfinite` case class: ``` useWindowAsScrollContainer: js.UndefOr[Boolean] = js.undefined ``` I've tried this and it seems to work fine. See also https://github.com/seatgeek/react-infinite#using-the-window-to-scroll-usewindowasscrollcontainer-mode

It looks like you may be using a newer/different version of code generation than what is available here: http://chandu0101.github.io/reactjs-scalajs/ Have you abandoned code generation, or is there a newer version...

- add all possible event handlers so we have some way of checking that we have mapped the types well. Even better would be some tests for that

help wanted

Currently, the raw components for material-ui are contained in the `Mui` Scala object, which pulls its definition from an `mui` Javascript object which the library user must configure, e.g., as...

If ```ReactTapEventPlugin(js.undefined)``` is not provided in the JsApp body the browser's console throws the following warning: ```scala warning.js:36 Warning: Unknown prop `onTouchTap` on tag. Remove this prop from the element....

When using union types, one must cast to js.Any, e.g.: ``` scala case class Pie(padding: js.UndefOr[Double | Shape] = js.undefined) { def toJs = { val p = js.Dynamic.literal() padding.foreach(x...

hint : use webpack stats plugin to get file names with hash

enhancement