Coder Social home page Coder Social logo

Comments (4)

k-vyn avatar k-vyn commented on July 21, 2024

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.

jordandobson avatar jordandobson commented on July 21, 2024

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.

mamezito-zz avatar mamezito-zz commented on July 21, 2024

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.

k-vyn avatar k-vyn commented on July 21, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.