File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 4
4
defaultWidthHeight ,
5
5
isMobile ,
6
6
radioButtonWidget ,
7
- resizeBorderExtraWidth
7
+ resizeBorderExtraWidth ,
8
+ textWidget
8
9
} from "../../constant/Utils" ;
9
10
function PlaceholderBorder ( props ) {
10
11
const getResizeBorderExtraWidth = resizeBorderExtraWidth ( ) ;
@@ -32,6 +33,9 @@ function PlaceholderBorder(props) {
32
33
return (
33
34
< div
34
35
onMouseEnter = { ( ) => ! isMobile && props ?. setDraggingEnabled ( true ) }
36
+ onTouchEnd = { ( ) =>
37
+ props . pos . type === textWidget && props ?. setDraggingEnabled ( true )
38
+ }
35
39
className = "borderResize"
36
40
style = { {
37
41
borderColor : themeColor ,
Original file line number Diff line number Diff line change @@ -333,7 +333,6 @@ function PlaceHolderSign() {
333
333
let dropData = [ ] ;
334
334
let placeHolder ;
335
335
const dragTypeValue = item ?. text ? item . text : monitor . type ;
336
- console . log ( "option" , dragTypeValue ) ;
337
336
if ( item === "onclick" ) {
338
337
const dropObj = {
339
338
//onclick put placeholder center on pdf
You can’t perform that action at this time.
0 commit comments