-
-
Couldn't load subscription status.
- Fork 44
Open
Description
When upgrading to Scala 2.13 I'm getting an error on all media functionality when calling it in an inline stylesheet, e.g.
trait SharedStyleSetting extends StyleSheet.Inline {
import dsl._
..
val hideOnSmallDevice = style(
media.maxWidth(xs_breakPoint._1)(
display.none
)
)
..
}
I can see that media is now (in Scala 2.13) an Any type as opposed to DslBase.MediaQueryEmpty.type as it previously was (in Scala 2.12). The files look identical so I'm thinking that it could be a conflict issue. As you'll see below I'm using 'ext-monocle-cats' with 'scalajs-react' so I'm not able to be on the latest stable versions for all
lazy val scalaJsReactV = "1.7.7"
lazy val scalacssV = "0.8.0-RC1"
..
lazy val frontEnd = (project in file("front-end"))
.settings(
sharedSetting("FrontEnd"),
..
Seq(
libraryDependencies ++= Seq(
"com.github.japgolly.scalajs-react" %%% "core" % scalaJsReactV,
"com.github.japgolly.scalajs-react" %%% "extra" % scalaJsReactV,
"com.github.japgolly.scalajs-react" %%% "ext-monocle-cats" % scalaJsReactV,
"com.github.japgolly.scalacss" %%% "core" % scalacssV,
"com.github.japgolly.scalacss" %%% "ext-react" % scalacssV,
..
)
)
).enablePlugins(ScalaJSPlugin, JSDependenciesPlugin, ScalaJSBundlerPlugin, BuildInfoPlugin)
..
Any ideas on this?
Metadata
Metadata
Assignees
Labels
No labels