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

The default text colour catches the default black colour from dragging and dropping the component #855

Open
Tshepiso-R opened this issue Jan 10, 2024 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@Tshepiso-R
Copy link

Description
When users drag and drop the Text component in the application, the color configurations for the Text component are initially set to 'Default.' However, the selected color from the theme is not displayed immediately. The color only updates when users change the color configuration from 'Default' to another color (e.g., primary), and then switch it back to the default color.

To Reproduce
Steps to reproduce the behavior:

  1. Drag and drop a text component
  2. Configure the content property
  3. Observe that the color of the content configured is black not the color configure on the theme

Expected behavior
The color configurations for the Text component should reflect the selected color from the theme immediately after dragging and dropping, without requiring a switch from 'Default' to another color and back.

image
image

The second one shows the actual color from the theme after navigation from one color to another

image

https___shesha-functionaltests-mainline-adminportal-test.azurewebsites.net_shesha_forms-designer__id.d5e910a8-3f5b-4a96-9e7d-5142e14965f1.mp4
@Tshepiso-R Tshepiso-R added the bug Something isn't working label Jan 10, 2024
@Tshepiso-R Tshepiso-R added this to the Backlog milestone Jan 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants