Comments (4)
Wow, this is toughy. I'm familiar with the error in your screenshot. That's typically from the layout engine trying to access a layer that doesn't have a constraint declared, similar to the other issue where I just said to write .constraints ={}. I'm working on a fix for that, which I'll try to finish & push tonight.
What's weird is when I tested it I got -
InputField.coffee:240 Uncaught InvalidStateError: Failed to set the 'value' property on 'HTMLInputElement': This input element accepts a filename, which may only be programmatically set to the empty string.
This error message I'm not at all familiar with.
from framer-ios-kit.
Can you set me up with an example and I can take a look too and make sure
it's not me.
I wonder if you're trying to set a value which it can't accept? Being that
it's a file input!?
On Sun, Aug 28, 2016 at 6:31 PM Kevyn Arnott [email protected]
wrote:
Wow, this is toughy. I'm familiar with the error in your screenshot.
That's typically from the layout engine trying to access a layer that
doesn't have a constraint declared, similar to the other issue where I just
said to write .constraints ={}. I'm working on a fix for that, which I'll
try to finish & push tonight.What's weird is when I tested it I got -
InputField.coffee:240 Uncaught InvalidStateError: Failed to set the 'value' property on 'HTMLInputElement': This input element accepts a filename, which may only be programmatically set to the empty string.
This error message I'm not at all familiar with.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#12 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AACbYtiGb_xjjWX-58bufGmMJJ-7Mfniks5qkjaBgaJpZM4Jo2S7
.
from framer-ios-kit.
ok guys , I played with the thing, guess something is messing on JS DOM leve, i thinkts its event listener
something is thinking both fields are same element.
how to test
http://share.framerjs.com/9hx918bt3gl2/
in browser - upload image, then click input text field
from framer-ios-kit.
Ok, I think I've isolated the problem. Jordan's module is calling the changeinputvalue function from events in the iOS Keyboard. I'm not 100%, but it feels like the event has something to do with HTML changes because it's firing from both keypress events & touch events. It's also gets called a bunch if you do the dialog and then click the field for the first time. This is because there are a bunch of HTML changes when the keyboard is created.
Jordan, I'm not sure how to get these to live harmoniously. Can you think of a good fix for this?
Here's an example where I replaced changeinputvalue function with a print statement, and that removed the errors - > http://share.framerjs.com/qm3s023wqqs9/
Edit - to be clear, the changeinputvalue function is only called after the upload dialog.
from framer-ios-kit.
Related Issues (15)
- conflicts with textlayer module HOT 1
- field component is not taking width and placeholder property HOT 2
- Change color in Navbar component HOT 1
- Importing from Sketch doesn't keep background color HOT 1
- Field - Placeholder text doesn't seem to work HOT 2
- width not working for text layer HOT 1
- Animate Text Layer HOT 1
- Alert view doesn't support different text colors on Buttons
- Animate with states?
- Refactor into more than one file HOT 2
- No punctuation on keyboard
- Sheet not working properly in the new framer
- Switching keyboards stopped working HOT 1
- when using a parent, constraints don't seem to be honoured HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from framer-ios-kit.