Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue in Selecting Text in InputField #4

Open
ATHellboy opened this issue Jun 4, 2017 · 3 comments
Open

Issue in Selecting Text in InputField #4

ATHellboy opened this issue Jun 4, 2017 · 3 comments

Comments

@ATHellboy
Copy link

Hey,

I've had a problem with this package and other RTL packages. The problem is in selecting text in input field, When I select text and want to clear that part, the opposite part of the text is cleared.

Any suggestion to fix this problem ?

Many thanks,
Alireza

@omid3098
Copy link
Collaborator

omid3098 commented Jun 5, 2017

Hi Alireza, I don't have any solutions for that at the moment. the problem is because we reverse the user input, replace their characters with the correct one and display the result on the screen. when you try to select part of the text, it's not easy to track what part of which text(old one or reversed one) is selected.
I will keep thinking about this.

@a-m-dev
Copy link

a-m-dev commented Jan 26, 2018

so why not using some trick ???
like
having another input field on top of the old one and then when the old one is been interacted (been Clicked on) it disappears and the vise verse thing happens to the new one with no placeholder ????
i guess it should work...
the same concept that everyone uses in front end development
i know
its is going to be the tough way and hard code , but i just thinked about it !!!!

@omid3098
Copy link
Collaborator

@ErEllison can you explain more about your idea? if we generate a new input field, what text data should be inside the new one? if we show the original string (the reversed one) player sees something like this: م‌ا‌ل‌س
if we show the correct one, "سلام" the player cant select part of that and what would be the point of generating a new input field?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants