Titanium JIRA Archive
Appcelerator Community (AC)

[AC-6333] Alloy- iOS removeClass does not affect to viewShadow* properties

GitHub Issuen/a
TypeBug
Priorityn/a
StatusResolved
ResolutionNeeds more info
Resolution Date2019-10-25T00:51:02.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterBrian García
AssigneeShak Hossain
Created2019-08-08T09:17:34.000+0000
Updated2019-10-25T00:51:03.000+0000

Description

the removeClass method does not remove any viewShadow property on iOS

Comments

  1. Rakhi Mitro 2019-08-11

    Hello, Thanks for reaching out to us. Can you please explain more about the issue you are experiencing?
  2. Brian García 2019-08-13

    given the following tss:
       
       ".container" : {
       height:45,
       width: 110,
       left:10,
       borderRadius: 5,
       viewShadowRadius: 0,
       viewShadowColor: '#222',
       viewShadowOffset: { x: 2, y: 2 },
       
       }
       
       ".selected":{
       backgroundColor:"#f2f2f2",
       viewShadowColor: '#80222222',
       viewShadowOffset: { x: 8, y: 8 },
       viewShadowRadius: 8,
       }
       
    if in code I do
       $.addClass($.button,'selected');
       
    and then
       $.resetClass($.button,'container');
       
    The viewShadow properties keep the .selected class values
  3. Sharif AbuDarda 2019-08-29

    Hello, can you share a full sample code (not a section of it) that can be used to test the behavior on our end? Thanks.
  4. Rakhi Mitro 2019-09-15

    Hello! Hope you are doing fine today.Would you please reply us regarding previous reviews? We are looking forward to your response.

JSON Source