RobinHerbots / RobinHerbots/Inputmask

Weird behavior after .clone(true)

Open
#2,007 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Enhancement / Feature Main
Dominant language
JavaScript
Stars
6.5k
Forks
2.1k
Avg merge
4d 16h
Merged PRs (30d)
1

Description

Hi, I'm trying to combine plugin with dynamically added inputs. I'm using .clone(true), because otherwise my focus animation of the input is not working. However this practice seems to break whole behavior of appended input. When I use .clone(false) I can set inputmask again and it's working, but I need to .clone with true because of the reason above. Is here such an option to reset inputmask after cloning with true? Thanks a lot

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no repository files or tests. Start by reproducing the interaction between .clone(true), dynamically appended inputs, focus animation, and inputmask, then trace the relevant clone and mask-handling entry points; done requires a confirmed way to preserve the behavior or reset the mask after cloning.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.