jumblerg / ui Goto Github PK
View Code? Open in Web Editor NEWa cohesive layer of composable abstractions over the dom
a cohesive layer of composable abstractions over the dom
Looks to be same problem as described here:
reagent-project/reagent#304
I can focus on the form field, keyboard pops up, but no input appears in field, or shows up on "submit"
Using IOS 9.3.5
Behavior is the same in Mobile Safari and Chrome
I am running UI 0.3.0 and Hoplon 7.0.2, but this has been the case for awhile
This error:
core.cljs:187
GET http://localhost:7000/[%22MagistralC%20Bold%22] net::ERR_ABORTED
`
comes from this code:
`(def magistralc-bold (font :system ["MagistralC Bold"] :opentype "magistralc-bold.otf"))
(def font-2 {:t 18 :tf magistralc-bold :tc white})
`
but that font is in my resource folder (where everything else is found).
Could it be that UI is searching for it in the filesystem by the :system value instead of the :opentype value?
I know ui is very bleeding edge and very much a WIP but I really like the new changes in your transitions branch.
Unfortunately this doesn't work with the newest version of hoplon due to some protocol name changes (two line changes in hoplon.ui.elems
).
And the current version of cljs issues a warning for variadic protocol signatures found in a lot of the IFn implementations in the hoplon.ui.attrs
namsepace. (See
reagent-project/reagent#303 for similar issue. Also got a confirmation from dnolen on slack that "variadic protocol signatures are not allowed")
I have changes that fix these. The only questionable thing would be how you want to deal with implementing IFn without & args
.
It could either
assoc
.IFn
(-invoke [this x y]
(assoc this x y))
(With either of these options, particularly with (1), it might be worth considering abstracting out this pattern).
I have changes fixing these things in a local repo, let me know your thoughts and if you're interested in a PR and I will provide one.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.